The 2D layer · function
uiNodeNamed
The node named, depth-first from root, or null. For a caller finding its own tree again.
Explained in Sprites and tilemaps.
function uiNodeNamed(root: UiNode, name: string): UiNode | nullimport { uiNodeNamed } from '@driftengine/ui2d';Parameters
| Parameter | Type | Description |
|---|---|---|
root | UiNode | |
name | string |