Component3D.onSensorEnter() method

Event fired when this component starts intersecting a sensor

Signature:

onSensorEnter(cb: EventListeners[typeof EVENTS.SENSOR_ENTER]): () => void;

Parameters

Parameter

Type

Description

cb

EventListeners[typeof EVENTS.SENSOR_ENTER]

**Returns:**

() => void