Second touch to activate secondary timeline

ios

(Iestyn Lloyd) #1

Hi, been using Hype on and off for some years, but just can’t work this problem out.
On first touch action I want to scale down an object.
On second touch action I want the object scale back up to its original size.
This is for tablet use, so no mouse actions.
Thanks for any help.
Iestyn


#2

In a secondary timeline, create your scaling animation, with a pause timeline action in the middle (where the element is scaled down). Next, create your ‘touch’ action to continue your timeline, with ‘restart timeline’ checked:

scale-tap.hype.zip (12.5 KB)


(Greg) #3

I really like the simplicity of this example and now I know how to use the ‘Restart Timeline’ option. Thanks!