tlenvReactive

See source code

An atom that contains information about the current device and environment. This object is reactive and will update automatically when the environment changes. Use it for values that may change over time, such as the pointer type.

tlenvReactive: import('@tldraw/state').Atom<
  {
    isCoarsePointer: boolean
  },
  unknown
>
Prev
tlenv
Next
tlmenus