Apologies if this has been explained elsewhere. I have a sprite that moves from left to right when an object is clicked with the mouse. I've got that working perfectly, using the custom movement behaviour.
And that looks like this: https://twitter.com/i/status/1135289518083514371
What I want to add is a smooth motion to the sprite (acceleration and deceleration). I think I'm on the right track using lerp, but just can't work it out!