disable a button in UE5

i am currently developing a game in UE 5.1 for mobile. i have setup touch controls and i cannot disable the fire touch button to create a delayed fire rate for the sniper rifle.

Disabling the fire touch button is not usually what is done. Instead, you just add a cooldown period on the sniper blueprint so it can’t fire again until the period has passed.

But since your in UE 5.1, this is a perfect use case for the gameplay ability system. It literally handles cooldown periods.