Reference Scene Graph

Query the scene for entities (by component or tag) to act on a group — all picku

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.

Find every tagged entity, then drive them all at once.

pickup_tag := class(tag){}
Pickups := GetEntitiesWithTag(pickup_tag{})
for (Pickup : Pickups):
    Pickup.RemoveFromParent()

Takeaway — Tag a group, query it, loop it.

Build your own lesson with scene_graph_find_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 →