clear_button_buffer

Clears the input buffer for the specified action.

ArgumentTypeDescription
input_index:realThe input buffer to clear

Indexes Reference

Example, called from atack_update.gml:

// allows the attack to cancel immediately into the aerial idle state using the shield button without buffering an airdodge:
if (window == 2 && shield_pressed) {
set_state( PS_IDLE_AIR );
clear_button_buffer( PC_SHIELD_PRESSED );
}