Contact:isEnabled

Edit

Returns whether the Contact is enabled. Disabled contacts do not generate any collision response. Use Contact:setEnabled to disable a contact to selectively ignore certain collisions.

enabled = Contact:isEnabled()

Arguments

None

Returns

NameTypeDescription
enabledboolean Whether the Contact is enabled.

See also