Difference between revisions of "Contact:isEnabled"

m
(Correct which callback to use it in.)
 
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function}}
 
{{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 post solve callback.
+
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