Skip to content
ConcordConcordConcord

World:removeEntity

Queues an Entity to be removed from the World.

← World

Queues an Entity to be removed from the World.

If the Entity has a key Component, it is removed first. The Entity remains in the World until the next flush.

world = world:removeEntity( e )
Name Type Description
e Entity Entity to remove
Name Type Description
world World