u10int / Kinetic

A flexible tweening library for iOS in Swift similar to GSAP's TweenMax.
MIT License
57 stars 7 forks source link

Is there a way to say if element is currently tweening #35

Open netgfx opened 6 years ago

netgfx commented 6 years ago

On Tweenmax we have something like isTweening:Bool = true/false is there something similar here? Would be really helpful.

u10int commented 6 years ago

You should be able to use tween.state == .running to check if the animation is currently running. I do like having easier accessor properties to access this value, so I'll look at adding those in the near future.