Table of Contents

Screen:setSize

Available since version: Gideros 2017.8

Description:

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

Syntax:

Screen:setSize(w, h)

Parameters:

  • w: (number) The new width
  • h: (number) The new height