Skip to main content
Version: Next (dev)

Engine Nodes

These nodes are generated from the engine's own C++ rather than built into visual scripting, but they come from the engine itself — so they are present in every project regardless of which plugins you load.

This page covers the ones you will reach for constantly. It is not exhaustive; see Reading the Palette for how to find the rest.

GameObject​

Everything about an object's place in the world and its relationship to others.

Transform​

NodeReturnsNotes
GetGlobalPositionVec3Where the object is in the world
SetGlobalPosition—Moves it
GetGlobalRotationQuat
SetGlobalRotation—
GetGlobalScalingVec3Non-uniform scale
SetGlobalScaling—
GetGlobalTransformTransformPosition, rotation and scale together
SetGlobalTransform—
UpdateGlobalTransform—Recomputes the transform now instead of waiting for the usual point in the frame

Direction​

NodeReturns
GetGlobalDirForwardsVec3 — the object's forward axis in world space
GetGlobalDirRightVec3
GetGlobalDirUpVec3

These are how you move something "forwards" rather than along a fixed world axis.

NodeWhat it does
SetGlobalRotationToLookAtTurns the object to face a target position
SetGlobalTransformToLookAtMoves and turns it. Note this resets scale to 1

Finding things​

NodeReturns
FindChildByNameA child by name. Searches the whole subtree unless you turn recursion off
FindChildByPathA descendant by slash-separated path
FindComponentByTypeNameThe first component of a named type
CreateComponentByTypeNameAdds a new component at runtime
GetParentThe parent object, or nothing at the top level
SetParentObjectReparents this object

State​

NodeReturns
IsActiveBool — false if this object or any parent is inactive
HasNameBool
HasTagBool — the usual way to identify what kind of thing something is
ActivateChildByNameActivates one child, optionally deactivating its siblings
GetTeamID / SetTeamIDWhich player or team owns this object
GetStableRandomSeedA random number fixed per instance and stable across saves — for per-instance variation that does not change every run

Component​

NodeReturns
GetOwnerThe game object this component is on
GetWorldThe world it lives in
GetScriptOwnerOwner, component and world in one node
IsActiveBool
IsActiveAndSimulatingBool — active and the game is running
DeleteComponentRemoves this component

The lifecycle entry points — Update, OnSimulationStarted and the rest — are documented in Entry Points and Events.

World​

NodeWhat it does
CreateDynamicObjectCreates an empty object at a world position
DeleteObjectDelayedDeletes an object at the start of the next frame. Everything stays valid until then
TryGetObjectWithGlobalKeyFinds an object by its global key
GetClockThe world clock

DeleteObjectDelayed is the safe way to remove things. By default it also cleans up parents that are left with no children and no components.

Physics​

NodeWhat it does
RaycastCasts a ray. Returns whether it hit, plus hit position, normal and the object hit
OverlapTestLineLine-of-sight test between two points
OverlapTestSphereIs anything inside this sphere?
OverlapTestCapsuleIs anything inside this capsule?
SweepTestSphereMoves a sphere along a direction, reports the first hit
SweepTestCapsuleThe same with a capsule
GetGravityThe world's gravity vector
GetCollisionLayerByNameTurns a layer name into its index
Raycast distance

Raycast casts over a distance of 1, so the length of the direction vector is the range. Scale your direction vector to control how far the ray reaches — see the raycast recipe.

Overlap tests answer yes/no; sweep tests tell you where contact happens.

Debug​

One-frame drawing unless noted. All of it is compiled out of a shipped build, so leave it in while developing.

NodeDraws
Draw3DTextText at a world position
Draw2DTextText at a screen position
DrawInfoTextText in a fixed screen corner slot
DrawLineA line, with a colour at each end
Draw2DLineThe same in screen space
DrawCrossAn axis marker at a point
DrawLineBox / DrawSolidBoxA box
DrawLineSphereA sphere
GetResolutionThe main view's resolution

For marks that should last rather than flicker for a frame:

NodeDefault duration
AddPersistentCross1 second
AddPersistentLineBox1 second
AddPersistentLineSphere1 second

Blackboard​

Blackboards are shared key/value stores — the usual way for unrelated systems to exchange state.

NodeWhat it does
FindBlackboardGets the blackboard for an object
GetOrCreateGlobalA named global blackboard, created if needed
FindGlobalAn existing global blackboard, or nothing
SetEntryValueWrites an entry
GetEntryValueReads an entry, with a fallback if it is missing
GetBoolValue / GetIntValue / GetFloatValue / GetStringValueTyped reads, saving a conversion
IncrementEntryValue / DecrementEntryValueAdjusts a number in place

The typed getters are usually easier than GetEntryValue, which hands back a Variant you then have to convert.

Log​

NodeSeverity
InfoInformation
WarningWarning
ErrorError

Each takes a format pattern plus as many parameters as you add, working the same way as String_Format.

Value types​

Nodes for constructing and manipulating values.

TypeNotable nodes
Vec3Make, Dot, CrossRH, GetLengthSquared, GetX / GetY / GetZ
QuatMakeFromAxisAndAngle, MakeFromEulerAngles (Roll, Pitch, Yaw), MakeShortestRotation, MakeSlerp, GetInverse, Rotate
TransformMake, MakeLocalTransform, MakeGlobalTransform, TransformPosition, TransformDirection
TimeMakeFromSeconds, MakeFromMilliseconds, MakeFromMinutes, AsFloatInSeconds
ColorMakeRGBA (linear), MakeHSV
AngleMakeFromDegree, MakeFromRadian, GetNormalizedRange

Two worth knowing:

  • TransformPosition versus TransformDirection — position applies translation, direction does not. Use the direction form for velocities and facings, or they end up offset by the object's position.
  • MakeRGBA takes linear values, not the 0–255 sRGB numbers a colour picker shows.

Prefabs and CVars​

NodeWhat it does
SpawnPrefabInstantiates a prefab at a world transform
SpawnPrefabAsChildThe same, parented to an object
GetValue / SetValueReads and writes a CVar
GetBoolValue / GetIntValue / GetFloatValue / GetStringValueTyped reads

See Also​