OSRS Plugin API
    Preparing search index...

    Function highlightTileOn

    • Turns on the highlight on the specified tile. Disable through ClientOp.highlightTileOff. If the tile has already been highlighted with other channel ids, the channel with the smallest id that is also enabled will be the channel through which the highlight gets its properties from.

      Parameters

      • coord: number

        The coordinate of the tile in a bitpacked form. Integer.

      • channelId: number

        The highlight channel. If specified channel is not enabled the highlight will not be visible. Positive Integer.

      • useSourceCoord: boolean

        Flag to use source coordinates instead of world coordinates.

      Returns void

      -- Highlights the tile directly below the player
      osrs.ClientOp.highlightTileOn(osrs.ClientOp.coord():toBitPacked(), 6, true)