OSRS Plugin API
    Preparing search index...

    Type Alias KeyDownCallback

    KeyDownCallback: (keycode: number) => void

    The callback for Events.KEY_DOWN events.

    Type Declaration

      • (keycode: number): void
      • Parameters

        • keycode: number

          the keycode of the key that was pressed down.

        Returns void