nanos world API Reference Unofficial documentation
Function Shared Fast

Entity:IsBeingDestroyed

Returns true if this Entity is being destroyed.<br>You can check this inside events like <code>Drop</code> to see if a Pickable is being dropped because it's going to be destroyed

Syntax

Lua
my_entity:IsBeingDestroyed()

Returns

  • boolean