format
typescript
Touch.fingerIDclass: Touch
description
(Read Only) The unique identifier of the finger touch.
This property is mainly used to identify and differentiate different touch events in multi-touch scenarios. On a multi-touch screen, each touch event is associated with a unique fingerId, which allows tracking of the starting point of the touch, the movement trajectory, etc.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
number | The unique identifier of the touch |
code example
javascript
const touch = Input.GetTouch(0);
const count = touch.fingerID;