ScriptEvent:touches

From Mod Wiki

Parameters

entity entity -- Entity to check against.
boolean ignoreNonTrace -- If not set, an error will be thrown if this entity has no trace models.

Result

boolean

Supported By

idEntity

Comments

  • If entity is null, the result will be false.

Functionality

Returns whether any of the trace models from this entity intersect with the clip models of the specified entity.