TLPOINTER_ID

See source code

The constant ID used for the singleton TLPointer record.

Since each browser tab typically has one pointer, this constant ID is used universally across the application.

TLPOINTER_ID: TLPointerId

Example

const pointer = store.get(TLPOINTER_ID)
if (pointer) {
  console.log('Pointer at:', pointer.x, pointer.y)
}
Prev
TLINSTANCE_ID
Next
vecModelValidator