How to do behaviours in order not at once ?!

S888RAMS888RAM LondonMember, PRO Posts: 41

Hey everyone! Finally after doing a lot of search with no answers I finally decided to submit my first post. Apologies if this is in the wrong category.

Any way lets focus on the question. I am trying to design animated buttons so when they are pressed they wobble. I am not sure what the best approach is but by thinking to save disk I thought it would be better to code than have buttons animated as image. Have look at this video:

I am interested in the second button. I am thinking to code the button to interpolate in height and then width to get a similar effect. however the problem I am facing is that when the code is compiled and when I press the button it doesnt do height and width in order but rather it expands the height and width TOGETHER. what is the solution to get things done in a time order? (eg. expand the height first then when its done width)

Also what would be your approach to design such buttons?

Comments

Sign In or Register to comment.