Skip to content

API Function ref

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Function: ref()

function ref(nodeId): object;

Defined in: src/engine/scene/sceneBuilder.ts:27

A reference to another node in the same scene, as stored in component data.

Parameters

nodeId

string

Returns

object

$node

$node: string;

Clone this wiki locally