Hi Dop, thanks for reply, I really liked the smoothness when moving, but moving minimally fast and the mouse leaving the window before the lerp is complete, it just stops moving, I thought it was a problem with my mouse, but noting well I identified this, I think we are on the right path.
Another observation I wanted to make is that I think I saw a similar formula a few months ago, but I can't find it anywhere and I didn't use lerp or round.