Joint:isEnabled

Edit

Returns whether the Joint is enabled. Disabled joints do not affect the simulation in any way. Use Joint:setEnabled to reactivate the Joint later. If the Joint is no longer needed, Joint:destroy is a better option that completely removes the Joint from the simulation.

enabled = Joint:isEnabled()

Arguments

None

Returns

NameTypeDescription
enabledboolean Whether the Joint is enabled.

See also