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