# How to take control and/or remove the cursor?

**URL:** https://discourse.processing.org/t/how-to-take-control-and-or-remove-the-cursor/11258
**Category:** Coding Questions
**Created:** [May 15, 2019, 10:02am UTC](https://discourse.processing.org/t/how-to-take-control-and-or-remove-the-cursor/11258 "2019-05-15T10:02:32Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [May 16, 2019, 6:49am UTC](https://discourse.processing.org/t/how-to-take-control-and-or-remove-the-cursor/11258/2 "2019-05-16T06:49:16Z")

</div>

> [@Problem with robot cursor](https://discourse.processing.org/t/problem-with-robot-cursor/2046):
>
> Greetings everyone! i was making a program that moves the camera and lets you ovserve an object from any direction (using w, a, s, d and the mouse, kinda like a game), to do that i use the robot class to restart the position of the mouse so the borders of the window don’t act as a limitant factor, the problem is that it doesn’t respond as i was expecting (it reset the position of the camera). Here the code: import java.awt.\*; import java.awt.event.\*; Robot robot; float x, y, z; int xp = 0, yp…

---

_[View the full topic](https://discourse.processing.org/t/how-to-take-control-and-or-remove-the-cursor/11258)._
