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

Other Languages