Skip to content

Function: isObjectInZone() ​

ts
function isObjectInZone(object: Nillable<game_object>, zone: Nillable<game_object>): boolean;

Check whether object is inside another zone object.

Parameters ​

ParameterTypeDescription
objectNillable<game_object>Game object to check.
zoneNillable<game_object>Target zone to check.

Returns ​

boolean

Whether object is inside zone object.