Trigger
Trigger(
props):null
Fires onEnter once when the player’s character comes within radius and onExit
once when she leaves, on the step’s TriggerEnteredEvent and
TriggerExitedEvent, so a character who passed through between two frames still
enters and exits. On a page in a room the entity is the room’s, whose
events mark any player’s character: the page measures its own character each
frame and fires its own props, so a character who passes straight through
between two frames fires neither.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
TriggerProps |
Returns
Section titled “Returns”null