Help! with tweens
I got this code and i whant to make it so unit moves smoothly to the destination i got told to seach key words like LiteTween and built in tween but i cant find anything that helps will someone help me.
unit.onRelease = function(){
_root.onMouseUp = function(){
unit._x = _xmouse;
unit._y = _ymouse;
delete _root.onMouseUp;
}
}