OSRS Plugin API
    Preparing search index...

    Function screenSize

    • Gets the XY dimensions of the screen in pixels.

      Returns Vector2

      vector2 containing client dimensions.

      local screenDim = osrs.screenSize()
      osrs.printf("Client Window [%i,%i]", screenDim.x, screenDim.y)