Reference Scene Graph

An entity is a thing in the Scene Graph — a container that holds components and

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.

Every object in a Scene Graph world is an entity.

bamboo_tree := class(entity):
    @editable
    Mesh : mesh_component = mesh_component{}
    @editable
    Sound : audio_component = audio_component{}

Takeaway — Entity = container. Components = behavior you attach.

Guides & scripts that use scene_graph_entities

Step-by-step tutorials that put this object to work.

Build your own lesson with scene_graph_entities

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 →