# Problem with mouse follow

**URL:** <https://forum.kirupa.com/t/problem-with-mouse-follow/189992>\
**Category:** flash\
**Created:** [June 7, 2006, 8:45pm UTC](https://forum.kirupa.com/t/problem-with-mouse-follow/189992 "2006-06-07T20:45:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pyromunky](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pyromunky](https://forum.kirupa.com/u/pyromunky)\
**Post date:** [June 7, 2006, 8:45pm UTC](https://forum.kirupa.com/t/problem-with-mouse-follow/189992/1 "2006-06-07T20:45:41Z")

</div>

I have a simple mc following the cursor using the basic

\_x += (\_root.\_xmouse-\_x)/speed;

with the speed set to 6…

When I play the file however, there’s a constant buffer between the cursor and mc. The two \_x positions never equal each other. I’ve scripted this before with no problems. Anyone run across this before?
