Getting the mouse to click once?
Posted: Sat May 04, 2013 7:25 pm
I'm currently working on a game, and I want the user to be able to click an "attack" button. Although whenever I use the
' if mouseclick = "l"
Kind of deal, it will CONSTANTLY ATTACK. I understand what it's doing, but I'm not sure how to make it so only registers the attack ONCE, and ONLY after the release of the click. I've been exploring different things, but haven't found any answers :/
Thank you!
' if mouseclick = "l"
Kind of deal, it will CONSTANTLY ATTACK. I understand what it's doing, but I'm not sure how to make it so only registers the attack ONCE, and ONLY after the release of the click. I've been exploring different things, but haven't found any answers :/
Thank you!