Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
props TriggerProps

null