Alias
- Last UpdatedJan 13, 2026
- 2 minute read
This topic is part of Logic nodes.
Alias node
An Alias works as a pointer to a node instance. Use it to write code that can be applied to specific instances by assigning the Alias node.
-
Every field of an instantiated node can be accessed by an alias.
-
Assigning a node to an alias does not influence node routing. The best way to use alias is inside commands.
-
There is no node type check. Fields that are accessed by an alias are evaluated at runtime, not at script loading.
Platform support
This node is fully supported on XR-Windows, XR-Portable Windows, XR-Portable iOS, XR-Portable Android, and XR-Portable WASM platforms.
|
XR-WIN |
XR-P-WIN |
XR-P-IOS |
XR-P-AND |
XR-P-WASM |
|---|---|---|---|---|
|
Full support |
Full support |
Full support |
Full support |
Full support |
|
|
|
|
|
|
Code example
This is a code example for the Alias node.
<Alias name="currentTaskmanager" node="tm_0"/>
Alias fields
These are the fields for the Alias node. Only the node-specific fields are indicated, not fields obtained by inheritance.
Field inheritance: NodeBase > Alias
|
Fields |
Type |
Use |
Default value |
Description |
|---|---|---|---|---|
|
node |
sstring |
Mandatory |
Not set |
The unique name of the node to point to. The alias can be reassigned at runtime with setAlias. |