The 2D layer · function

createPointerState

Explained in Sprites and tilemaps.

function createPointerState(): PointerState
import { createPointerState } from '@driftengine/ui2d';