Touches (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Returns true if this entity touches the other entity.

Usage

float touches( entity other )

Parameters

  • [other] - The entity to check against.

Examples

 
$my_entity.touches($door_1);

Notes

This script event does not return any values.