Animation Control
Posted: Tue Jun 16, 2015 12:26 am
Upon clicking on a button 1, button 2 jumps up and lands backs to its original spot in 10 ticks.
For example
on mouseUP
....move button 2 relative 0,-20 in 5 ticks
....wait 5 ticks
....move button 2 relative 0,20 in 5 ticks
end mouseUP
My question is how do I control the clicking of button 1 in a way where it doesn't run until button 2 is back to its original spot. I don't want the button 2 to be jumping up more than it should be when button 1 is clicked faster than 10 ticks. I hope it is clear what I am trying to say! Thanks
For example
on mouseUP
....move button 2 relative 0,-20 in 5 ticks
....wait 5 ticks
....move button 2 relative 0,20 in 5 ticks
end mouseUP
My question is how do I control the clicking of button 1 in a way where it doesn't run until button 2 is back to its original spot. I don't want the button 2 to be jumping up more than it should be when button 1 is clicked faster than 10 ticks. I hope it is clear what I am trying to say! Thanks