Difference between revisions of "Screen:getSize"

From GiderosMobile
Line 6: Line 6:
 
(number), (number) = Screen:getSize()
 
(number), (number) = Screen:getSize()
 
</source>
 
</source>
 +
=== Return values ===
 
'''Returns''' (number) The Screen's width<br/>
 
'''Returns''' (number) The Screen's width<br/>
 
'''Returns''' (number) The Screen's height<br/>
 
'''Returns''' (number) The Screen's height<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2017.8

Description

Return the width and height of the screen

(number), (number) = Screen:getSize()

Return values

Returns (number) The Screen's width
Returns (number) The Screen's height