Skip to main content

IS_BUTTON_JUST_PRESSED

Game.IsButtonJustPressedHash0x016C37CD
Usage
local isButtonJustPressed = Game.IsButtonJustPressed(padNumber, buttonNumber)

Returns TRUE if the specified button on the specified controller is has been pressed this frame.

Parameters

  • padNumberintegerint
  • buttonNumberintegerint

Returns

  • isButtonJustPressedbooleanreturn value
Original declaration
// 0x016C37CD
bool IS_BUTTON_JUST_PRESSED(int padNumber, int buttonNumber);