Garry's Mod Wiki

Revision Difference

ENTITY:EndTouch#564948

<function name="EndTouch" parent="ENTITY" type="hook"> <description> Called when the entity stops touching another entity. ⤶ See <page>ENTITY:StartTouch</page> and <page>ENTITY:Touch</page> for related hooks.⤶ <warning>This only works for **brush** entities and for entities that have <page>Entity:SetTrigger</page> set to true.</warning> </description> <realm>Server</realm> <args> <arg name="entity" type="Entity">The entity which was touched.</arg> <arg name="entity" type="Entity">The entity that we no longer touch.</arg> </args> </function>