# Fixing mouse position to window center

**URL:** <https://discourse.processing.org/t/fixing-mouse-position-to-window-center/6023>\
**Category:** Coding Questions\
**Created:** [November 28, 2018, 9:33am UTC](https://discourse.processing.org/t/fixing-mouse-position-to-window-center/6023 "2018-11-28T09:33:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![neilcsmith](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/neilcsmith/32/144_2.png) [@neilcsmith](https://discourse.processing.org/u/neilcsmith)\
**Post date:** [November 28, 2018, 11:18am UTC](https://discourse.processing.org/t/fixing-mouse-position-to-window-center/6023/3 "2018-11-28T11:18:42Z")

</div>

Robot and OpenGL (JOGL) can be unhappy bedfellows. Check out [Problem with robot cursor](https://discourse.processing.org/t/problem-with-robot-cursor/2046) for an alternative using JOGL’s support directly.

EDIT - or possibly this thread is more useful - [Extending the mouse range past the screen size](https://discourse.processing.org/t/extending-the-mouse-range-past-the-screen-size/4431/3)

---

_[View the full topic](https://discourse.processing.org/t/fixing-mouse-position-to-window-center/6023)._
