Game (functions)/Inputs

From PMDOWiki
Revision as of 21:07, 17 January 2026 by Imbion (talk | contribs) (Created page with "== GAME:IsKeyDown(System.Int32) == Checks if a player is making a certain physical keyboard input. === Arguments === * <code>keyid</code>: The ID of the input === Returns === True if the button is currently pressed. False otherwise. == GAME:IsInputDown(System.Int32) == Checks if a player is making a certain game input. === Arguments === * <code>inputid</code>: None === Returns === True if the input is currently pressed. False otherwise.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GAME:IsKeyDown(System.Int32)

Checks if a player is making a certain physical keyboard input.


Arguments

  • keyid: The ID of the input

Returns

True if the button is currently pressed. False otherwise.

GAME:IsInputDown(System.Int32)

Checks if a player is making a certain game input.


Arguments

  • inputid: None

Returns

True if the input is currently pressed. False otherwise.