I made an example for someone else who wanted to move something left and right slowly to a point based on where the player tapped.
It might be useful for you.
Basically it's setting X position using lerp every tick to slowly move it to the destination with a clamp to make sure it doesn't go too far.
[quote:2tqtkjqq]On a side note how do I change the position of "what you can see" when you start the game?
You can use the actions System->Scroll to object/position/X/Y to move the camera, or alternatively, give a player character the ScrollTo behaviour
Thanks its exactly what I needed. To get it to work with my own sprite I tried to change to code from Sprite.X .... to Newsprite.X and everything else where "Sprite" was mentioned. I also added the 2 instance variables to my newsprite. But it doesnt seem to be working, what did I do wrong, did I forgot something?
EDIT: the included image didn't seem to be displaying correctly: this is the imgur code : JQiqPZM.png