blockly > Touch > getTouchIdentifierFromEvent
Touch.getTouchIdentifierFromEvent() function
Get the pointer identifier from the given event.
Signature:
export declare function getTouchIdentifierFromEvent(e: PointerEvent): string;
Parameters
Parameter | Type | Description |
---|---|---|
e | PointerEvent | Pointer event. |
Returns:
string
The pointerId of the event.