Table of Contents

Screen:getPosition

Available since version: Gideros 2017.8

Description:

Return the position of the screen on the display, for windowed systems

Syntax:

(number), (number) = Screen:getPosition()

Return value:

  • number: The Screen's x coordinate
  • number: The Screen's y coordinate