Interface: TriggerVolume
A Script-Owned, tick-sampled trigger over an inclusive block volume.
Properties
afterEvents
readonlyafterEvents:TriggerVolumeAfterEvents
Trigger-specific event streams.
dimension
readonlydimension:Dimension
Dimension sampled by the trigger.
id
readonlyid:string
Script-local trigger identifier.
isActive
readonlyisActive:boolean
Whether the trigger is still sampling and emitting events.
volume
readonlyvolume:BlockVolume
Inclusive volume sampled by the trigger.
Methods
contains()
contains(
entityOrLocation):boolean
Tests a live entity or coordinate against this trigger.
Parameters
entityOrLocation
Returns
boolean
dispose()
dispose():
void
Stops sampling, removes handlers, and releases Script-Owned state.
Returns
void
getPlayers()
getPlayers(): readonly
Player[]
Returns the players present at the latest membership sample.
Returns
readonly Player[]