Difference between revisions of "B2.Fixture:isSensor"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
Line 8: Line 8:
 
<source lang="lua">
 
<source lang="lua">
 
(any), (any) = b2.Fixture:isSensor()
 
(any), (any) = b2.Fixture:isSensor()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Revision as of 17:14, 12 July 2023


Available since: Gideros 2011.6
Class: b2.Fixture

Description

Is this fixture a sensor (non-solid)? <source lang="lua"> (any), (any) = b2.Fixture:isSensor() </syntaxhighlight>

Return values

Returns (any) true if the shape is a sensor, false otherwise.
Returns (any) true if the shape is a sensor, false otherwise.




LiquidFun