Skip to content

TriggerEvent

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

interface TriggerEvent {
node: Z.Node;
triggerRegion: Z.TriggerRegion;
}

Information provided during trigger events, including:

Variable Type Description
node Z.Node The node inside the TriggerRegion.
triggerRegion Z.TriggerRegion The TriggerRegion the node is inside of.