Screen:setSize

From GiderosMobile
Revision as of 14:32, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2017.8
Class: Screen

Description

Attempts to fix the size of the screen or window, if allowed by the platform.

Screen:setSize(w,h)

Parameters

w: (number) the new screen width
h: (number) the new screen height