When mouse(touch) is pressed 1,2 and 3 second change att.
n.ozmerd0570
Member Posts: 5
Hi guy,
Im trying to figure out how to do a timed mouse press.
Example: When i mouse button is down for 3 seconds change an att.
How can i do this?
Any help is welcome
Comments
When mouse button is down
--Timer: After 3 seconds
----Change attribute
Hi socks ty for your answer
But when i press mouse once does it change the att. after 3 seconds? i kinda need it to be that the mouse press need to be keep pressed 3 seconds to change the att. Im trying to do a 3 stage charge mode. like for example when press 1 sec. it change att. charge = 1 and the same for 2 and 3 seconds.
What happened when you tried it ?
(you can play around with 'run to completion' to control the behaviour).
Well i can't put the timer before the "do" rule. So i couldnt try it out.
or do i need to put it in the "do"?
Edit: I need to put it in the do section. And it worked out btw, it changes the att. if i press it for 3 seconds. this is perfect Ty again Socks
Good !