Can you have two items follow the mouse?

Can you have two items follow the mouse?

I want to have one item moving with the cursor. The second MC to stay at its current y coordinate but move on the x to follow the mouse.

If you have a script, please post :slight_smile:

Thanks.

_xfollow_mc.onEnterFrame = function(){
this._x = _xmouse
}
_mousefollow_mc.onEnterFrame = function(){
this._x = _xmouse
this._y = _ymouse

}
…?? that should work fine…

Joran you rock!

That worked perfectly!

Thanks a ton,
-Line