int pointer
read-only

The id of the pointer. Each pointer on the screen will have a unique pointer id.

if (event.pointer == firstPointerId) {
  // Do something
}