Reference Scene Graph

Scale an entity via its transform to resize it — grow a pickup, shrink a shield,

Updated
The code on this reference page is provided as-is and did not pass the latest compile check — treat the examples as a starting point and verify in your project.

Resize anything by changing its transform's Scale

T : transform = Entity.GetLocalTransform()
BigScale : vector3 = T.Scale * 2.0
Print("X:{BigScale.X} Y:{BigScale.Y} Z:{BigScale.Z}")

Takeaway — Scale lives in the transform — multiply it to grow.

Build your own lesson with scene_graph_scale_entity

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 →