1 touch changes my attribute+1, how do if touch held continue to increment attribute+1 every x sec?

sawkasteesawkastee Member Posts: 184
edited February 2014 in Working with GS (Mac)
I have an actor that if touch is pressed it changes (my attribute+1)%60. How do I when touch is held down continue to increment (my attribute+1)%60 every .5 seconds?

Thanks

Comments

  • 921creative921creative Member, PRO Posts: 140
    Did you try when mouse position is inside, or when touch is inside?
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Inside of the When Touch is Pressed rule, place an every 0.5 seconds timer with the change attribute behavior inside of it.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Also make sure run to completion isn't checked.
Sign In or Register to comment.