B2.Fixture:isSensor: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
=== Description ===
=== Description ===
Is this fixture a sensor (non-solid)?
Is this fixture a sensor (non-solid)?
<source lang="lua">
<syntaxhighlight lang="lua">
(any), (any) = b2.Fixture:isSensor()
(any), (any) = b2.Fixture:isSensor()
</source>
</syntaxhighlight>


=== Return values ===
=== Return values ===

Latest revision as of 16:22, 12 July 2023


Available since: Gideros 2011.6
Class: b2.Fixture

Description

Is this fixture a sensor (non-solid)?

(any), (any) = b2.Fixture:isSensor()

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