# GetRawJoystickButtonReleased

## Description

Returns 1 if the given button was released this frame, otherwise returns 0. Once the button has been released this function returns to 0, to check the state of the button use GetRawJoystickButtonState.
AGK supports up to 32 joystick buttons in the range 1-32.

## Definition

integer GetRawJoystickButtonReleased( index, button )

int agk::GetRawJoystickButtonReleased( UINT index, UINT button )

## Parameters

- index - The ID of the joystick to check.
- button - The ID of the button to check.