You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to access my target from a tween's onUpdate function but I'm only getting the initial value: var p:Point = new Point(0,0); Actuate.tween(p,1,{x:10}).onUpdate(Log.trace,[p.x]);//this fails
Is there a way to get the value of my target while it's updating?
I made a quick test here: https://try.haxe.org/#4A61a
The text was updated successfully, but these errors were encountered:
I'm trying to access my target from a tween's onUpdate function but I'm only getting the initial value:
var p:Point = new Point(0,0);
Actuate.tween(p,1,{x:10}).onUpdate(Log.trace,[p.x]);//this fails
Is there a way to get the value of my target while it's updating?
I made a quick test here: https://try.haxe.org/#4A61a
The text was updated successfully, but these errors were encountered: