Reference Verse compiles

Add vectors to offset a position: `NewLoc := OldLoc + vector3{Z:=200.0}` lifts s

Updated Examples verified on the live UEFN compiler

Add a vector to move something relative to where it already is.

OldLoc : vector3 = vector3{X := 0.0, Y := 0.0, Z := 0.0}
Lift : vector3 = vector3{X := 0.0, Y := 0.0, Z := 200.0}
NewLoc := OldLoc + Lift
Print("{NewLoc.Z}")

Takeaway — Add a vector to nudge a position, no exact coords needed.

Build your own lesson with vector_add

Generate a personalized, step-by-step lesson plan built around this object — grounded in this exact reference and our compile-verified knowledge base.

Build a lesson →