How to make a single click button
Posted: Tue Apr 25, 2023 2:16 pm
I want to make a button just like the white circle-shaped button used in google doodle championship (not the joystick but the button), I want the button to be single click........by that I mean on clicking that button, a variable "buttonClicked" will go true and instantly go false so that holding the button won't lead to repeating action, one more example is like the "btnp()" function used in tic 80, the player needs to click the button again and again instead of holding the button to repeat the action.....I hope you guys understood what I meant, Please help as soon as possible