Function: isObjectInZone()
ts
function isObjectInZone(object: Nillable<game_object>, zone: Nillable<game_object>): boolean;Check whether object is inside another zone object.
Parameters
| Parameter | Type | Description |
|---|---|---|
object | Nillable<game_object> | Game object to check. |
zone | Nillable<game_object> | Target zone to check. |
Returns
boolean
Whether object is inside zone object.