It triggers when whatever you are hooking occurs.
I would recommend using
register_touch() from the engine module if you are looking to detect when a player touches something, since it allows you to specify both classnames, whereas using FM_Touch, you need to do further logic/conditions to react on only specific entities.
__________________