# Controlling the mouse

**URL:** https://forum.kirupa.com/t/controlling-the-mouse/177730
**Category:** Uncategorized
**Created:** [February 4, 2006, 5:42pm UTC](https://forum.kirupa.com/t/controlling-the-mouse/177730 "2006-02-04T17:42:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![slideth3](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@slideth3](https://forum.kirupa.com/u/slideth3)
#### Post date: [February 4, 2006, 5:42pm UTC](https://forum.kirupa.com/t/controlling-the-mouse/177730/1 "2006-02-04T17:42:24Z")

</div>

is there a way of controlling the mouse using actionscript?

something like

\_root.onEnterFrame = function(){  
\_root.Mouse.\_x=275  
\_root.Mouse.\_y = 200  
}

I want it to like overide the normal mouse movement…

remember seeing a game where the mouse moved if you lost… will try to find it and post a link. Cheers

Sam
