Entity:destroy
Destroys the Entity.
Destroys the Entity.
Queues removal from its World if it’s in one. The Entity stays in the World until the next flush.
entity = entity:destroy()Returns
Section titled “Returns”| Name | Type | Description |
|---|---|---|
entity |
Entity |