SCREEN_TOUCH_MOVE
Description
Emits when the user moves their finger on the screen.
ecs.input.SCREEN_TOUCH_MOVE.detail : { pointerId, position, target, start, change }
Event Properties
Property | Type | Description |
---|---|---|
pointerId | number | A unique ID for the pointer provided by the browser |
position | object | The screen position in pixels. ({x: number, y: number} ) |
target | Eid | If initial touch raycasts to an object, this will be the eid of the object, and as the pointer moves, the target will be the same as the initial target. |
start | object | On move/end, this will be the first position emitted in start. ({x: number, y: number} ) |
change | object | On move, the delta of movement since the last event ({x: number, y: number} ) |