Moving the sprite from x to y position using move

Can any one help in moving the sprite from x to y distance in type script in 3.0

you could write a MoveComponent for this.

NewProject_7.zip (10.7 KB)
https://docs.cocos.com/creator/manual/en/tween/?h=tween
you can refer to this.