Difference between revisions of "Contact:isEnabled"
(Added Contact:isEnabled.) |
(Correct which callback to use it in.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.8.0]]|080|type= | + | {{newin|[[0.8.0]]|080|type=function}} |
− | Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the | + | Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the preSolve callback. |
== Function == | == Function == |
Latest revision as of 01:54, 2 April 2017
Available since LÖVE 0.8.0 |
This function is not supported in earlier versions. |
Returns whether the contact is enabled. The collision will be ignored if a contact gets disabled in the preSolve callback.
Function
Synopsis
enabled = Contact:isEnabled( )
Arguments
None.
Returns
boolean enabled
- True if enabled, false otherwise.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info