The 2D layer · function
resetUiInput
Forget everything, and clear the flags this router set on the tree.
Explained in Sprites and tilemaps.
function resetUiInput(input: UiInput): voidimport { resetUiInput } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
input | UiInput |
In depth
For a tree going away or a pointer leaving the window. Without it a node keeps the hovered it
had when the cursor left, and draws lit for ever.