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