onPointerEnter
This event is triggered when the pointer enters the bounds of an object.
Parameters
Name | Type | Description |
---|---|---|
event | ObjectPointerEvent | The pointer event object |
Example
object.events.on('onPointerEnter', event => {
console.log('Pointer entered:', event);
});
Available on: Client