Body:isDestroyed

Available since LÖVE 0.9.2
This function is not supported in earlier versions.

Gets whether the Body is destroyed. Destroyed bodies cannot be used.

Function

Synopsis

destroyed = Body:isDestroyed( )

Arguments

None.

Returns

boolean destroyed
Whether the Body is destroyed.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Body:isDestroyed