Difference between revisions of "Screen:getId"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Returns the id the screen was created with.
 
Returns the id the screen was created with.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Screen:getId()
 
(number) = Screen:getId()
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023

Available since: Gideros 2017.8
Class: Screen

Description

Returns the id the screen was created with. <syntaxhighlight lang="lua"> (number) = Screen:getId() </source>

Return values

Returns (number) the screen id