OSRS Plugin API
    Preparing search index...

    Function setRenderOffset

    • Sets a render offset on a given IfGroup, overriding any offset already there. You can use this to clear any existing offset.

      Parameters

      • groupId: number

        the id of the IfGroup to retrieve. Available in osrs.gamevals.iftypes.

      • offset: Vector2

        The offset in screen coordinates. Applying an offset of [0,0] will reset the script offset, returning the interface to its normal position.

      Returns boolean

      true if the operation was successful (can fail if the interface is not rendering).