Reference Scene Graph compiles

Despawn/destroy an entity to remove it from the world — clean up a collected pic

Updated Examples verified on the live UEFN compiler

Spawning makes an enemy. Despawn removes it.

Enemy : creature_placer_device = creature_placer_device{}
Enemy.Spawn()
Sleep(5.0)
Enemy.Despawn()

Takeaway — Despawn is the undo of Spawn.

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