Home > three-story-controls > PointerAdaptorEvent
Event: Fired when when PointerEvent
s are triggered
Signature:
export interface PointerAdaptorEvent extends ContinuousEvent
Extends: ContinuousEvent
adaptor.on('trigger', (e) => {
console.log('x/y coordinates', e.values.x, e.values.y)
})
Property | Type | Description |
---|---|---|
deltas | Coordinates | Pointer coordinate change since previous update |
pointerCount | number | Number of pointers registered |
values | Coordinates | Dampened x and y pointer coordinates |