triggerenter
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.
("triggerenter", (TriggerPresentEvent) => void): this;
Emitted when the origin point of the object first enters a TriggerRegion.
Returns
Section titled “Returns”this
Handler Function
Section titled “Handler Function”When the triggerenter
event is fired, attached handler functions are called with a single argument, a TriggerPresentEvent.