# Contolling a carousel with a mouse

**URL:** <https://forum.kirupa.com/t/contolling-a-carousel-with-a-mouse/284812>\
**Category:** Uncategorized\
**Created:** [March 23, 2009, 10:11pm UTC](https://forum.kirupa.com/t/contolling-a-carousel-with-a-mouse/284812 "2009-03-23T22:11:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RossKidd](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@RossKidd](https://forum.kirupa.com/u/RossKidd)\
**Post date:** [March 23, 2009, 10:11pm UTC](https://forum.kirupa.com/t/contolling-a-carousel-with-a-mouse/284812/1 "2009-03-23T22:11:16Z")

</div>

Hi,

I am using Lee Brimlow’s carousel here

[http://gotoandlearn.com/play?id=92](http://gotoandlearn.com/play?id=92)

and trying to controlling the carousel with acceleration and direction with the mouseX position.

the further away the mouse is from the center the faster it goes in that direction. You can see the action i need here

[http://s3.envato.com/files/37968/index.html](http://s3.envato.com/files/37968/index.html)

Many Thanks,

RK
