OSRS Plugin API
    Preparing search index...

    Function clientDimensions

    • Gets the XY dimensions of the screen in pixels.

      Returns Vector2

      a Vector2 containing client dimensions

      local clientDims = osrs.Graphics.clientDimensions()
      osrs.printf("Client Window [%i,%i]", clientDims.x, clientDims.y)