The 2D layer · function

capturePointer

Explained in Sprites and tilemaps.

function capturePointer(state: PointerState, node: UiNode): void
import { capturePointer } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
statePointerState
nodeUiNode