Detect Full Mouse Clicks?
Geta-Ve
Member Posts: 18
Hey there! So I am wondering how I can have GS detect a full down-up mouse click? Currently I have my project detecting when the mouse button is down DO event. The problem with this is that I can hold down the mouse button and keep initiating the event.
I'd like the event to only initiate once per click.
Thank you! And I apologize if the answer is super simple, I just can't seem to figure it out.
I'd like the event to only initiate once per click.
Thank you! And I apologize if the answer is super simple, I just can't seem to figure it out.
Comments
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@jaime_c and Socks: unfortunately this does not work since after the first click it always registers the mouse up event. Thank you though!
Works fine for me (example attached), the point here is that if you can use Kevin's notion of "when released" to change an attribute, then you already have a system for detecting when a full click is made ! (the very "when released" you are using to change the attribute!!).
I apologize for not responding sooner!