byond - Modules - Types

code/modules/projectiles/gun_helpers.dm

/proc/get_turf_on_clickcatcher Helper proc that processes a clicked target, if the target is not black tiles, it will not change it. If they are it will return the turf of the black tiles. It will return null if the object is a screen object other than black tiles.