# Force mouse to the middle

**URL:** https://forum.kirupa.com/t/force-mouse-to-the-middle/254326
**Category:** Uncategorized
**Created:** [March 10, 2008, 11:13pm UTC](https://forum.kirupa.com/t/force-mouse-to-the-middle/254326 "2008-03-10T23:13:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ibex](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@ibex](https://forum.kirupa.com/u/ibex)
#### Post date: [March 10, 2008, 11:13pm UTC](https://forum.kirupa.com/t/force-mouse-to-the-middle/254326/1 "2008-03-10T23:13:41Z")

</div>

Does anyone know the code to make an instance being copy/dragged to position itself so that the mouse is in the center not the top left?

Example would be great.

Thanks
