The 2D layer · function
capturePointer
Explained in Sprites and tilemaps.
function capturePointer(state: PointerState, node: UiNode): voidimport { capturePointer } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
state | PointerState | |
node | UiNode |