actuate icon indicating copy to clipboard operation
actuate copied to clipboard

Unable to access my tween's target from the onUpdate() function?

Open SadiQURT opened this issue 8 years ago • 0 comments

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

SadiQURT avatar Dec 10 '17 06:12 SadiQURT