I’ve set my character up so it can equip a sword and unequip it by pressing the related Action Input key < F > , First time pressing F will equip the sword , second time pressing F will unequip the sword .
But now i want to prevent the player from being able to spam the F key until the equip/unequip animation is finished which takes about 2 seconds . but the problem is i cant use the "Disable input " node since it will disable all the input received by the character . for example if the character is running and decides to unequip the sword , the character will stop moving since the “move forward” button will also be disabled by “Disable input” .
So how can i only disable this specific input ? thanks.