Difference between revisions of "Gyroscope.isAvailable"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.<br />
 
Returns ''true'' if gyroscope is available for this platform, ''false'' otherwise.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = Gyroscope.isAvailable()
 
(bool) = Gyroscope.isAvailable()
 
</source>
 
</source>

Revision as of 15:28, 13 July 2023


Available since: Gideros 2012.8
Class: Gyroscope

Description


Returns true if gyroscope is available for this platform, false otherwise.

<syntaxhighlight lang="lua"> (bool) = Gyroscope.isAvailable() </source>

Return values

Returns (bool) true if gyroscope is available for this platform, false otherwise.