Rise 6 Scripting API
  • Introduction
  • Examples
    • Simple vanilla hop
    • Simple collide fly bypass
    • Events example
    • Example settings
    • Exempted value speed bypass
    • Packet nofall
    • Killaura
    • Arraylist
  • API Documentation
    • Scripting metadata
    • Objects
      • FontRenderer
      • Vector
        • Vector3
        • Vector2
      • ItemStack
      • BlockPos
      • Block
      • Inventory
      • Command
      • Module
      • EntityLiving
      • Entity
    • Global namespaces
      • render
      • input
      • world
      • rise
      • player
      • mc
      • network
      • packet
    • Events
      • Load event
      • Unload event
      • Module events
        • Attack event
        • World Change Event
        • Module Toggle Event
        • Server Kick event
        • Game event
        • Chat input event
        • Click event
        • Entity render event
        • Hit slow down event
        • Jump event
        • Keyboard Input event
        • Kill event
        • Move input event
        • Post motion event
        • Pre motion event
        • Strafe event
        • Pre update event
        • Render 2D event
        • Render 3D event
        • Water event
        • Tick event
        • Slow down event
      • onExecute event
Powered by GitBook
On this page
  • isKeyBindForwardDown(): Boolean
  • isKeyBindBackDown(): Boolean
  • isKeyBindLeftDown(): Boolean
  • isKeyBindRightDown(): Boolean
  • isKeyBindJumpDown(): Boolean
  • isKeyBindSneakDown(): Boolean
  • isKeyBindAttackDown(): Boolean
  • isKeyBindUseItemDown(): Boolean
  • isKeyBindDropDown(): Boolean
  • isKeyBindInventoryDown(): Boolean
  • isKeyBindChatDown(): Boolean
  • isKeyBindPlayerListDown(): Boolean
  • isKeyBindCommandDown(): Boolean
  • isKeyBindScreenshotDown(): Boolean
  • isKeyBindTogglePerspectiveDown(): Boolean
  • isKeyBindFullscreenDown(): Boolean
  • isKeyBindSpectatorOutlinesDown(): Boolean
  • isKeyDown(key): Boolean
  • isButtonDown(button): Boolean
  • isMouseDown(button): Boolean
  1. API Documentation
  2. Global namespaces

input

This page will go over the Input API namespace.

isKeyBindForwardDown(): Boolean

Returns whether the Forward movement key (defaults to W) is down.

isKeyBindBackDown(): Boolean

Returns whether the Back movement key (defaults to S) is down.

isKeyBindLeftDown(): Boolean

Returns whether the Left movement key (defaults to A) is down.

isKeyBindRightDown(): Boolean

Returns whether the Right movement key (defaults to D) is down.

isKeyBindJumpDown(): Boolean

Returns whether the Jump movement key (defaults to Space) is down.

isKeyBindSneakDown(): Boolean

Returns whether the Sneak movement key (defaults to Shift) is down.

isKeyBindAttackDown(): Boolean

Returns whether the Attack key (defaults to LMB) is down.

isKeyBindUseItemDown(): Boolean

Returns whether the Use Item key (defaults to RMB) is down.

isKeyBindDropDown(): Boolean

Returns whether the Drop key (defaults to Q) is down.

isKeyBindInventoryDown(): Boolean

Returns whether the Inventory key (defaults to E) is down.

isKeyBindChatDown(): Boolean

Returns whether the Chat key (defaults to T) is down.

isKeyBindPlayerListDown(): Boolean

Returns whether the Player list key (defaults to TAB) is down.

isKeyBindCommandDown(): Boolean

Returns whether the Command key (defaults to '/') is down.

isKeyBindScreenshotDown(): Boolean

Returns whether the Screenshot key (defaults to F2) is down.

isKeyBindTogglePerspectiveDown(): Boolean

Returns whether the Toggle Perspective (more known as the Third Person) key (defaults to F5) is down.

isKeyBindFullscreenDown(): Boolean

Returns whether the Full Screen key (defaults to F11) is down.

isKeyBindSpectatorOutlinesDown(): Boolean

Returns whether the Spectatour Outlines key is down.

isKeyDown(key): Boolean

Argument
Type
Description

key

Number

The LWJGL ID of a key.

isButtonDown(button): Boolean

Argument
Type
Description

button

Number

The LWJGL ID of a button.

Returns whether the specified mouse button is down.

isMouseDown(button): Boolean

Argument
Type
Description

button

Number

Mouse button int.

Returns whether the specified mouse button is down.

PreviousrenderNextworld

Last updated 1 year ago

Returns whether the specified key is down. To get the ID of a key, .

refer to this table