The 2D layer · function

dropTarget

The node a drop would land on, or null.

Explained in Sprites and tilemaps.

function dropTarget(state: PointerState): UiNode | null
import { dropTarget } from '@driftengine/ui2d';

Parameters

ParameterTypeDescription
statePointerState