# Hide Cursor on Client when in Runtime

**URL:** <https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097>\
**Category:** Ignition\
**Created:** [March 2, 2012, 9:28pm UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097 "2012-03-02T21:28:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbradley82](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@rbradley82](https://forum.inductiveautomation.com/u/rbradley82)\
**Post date:** [March 2, 2012, 9:28pm UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097/1 "2012-03-02T21:28:34Z")

</div>

Normally the cursor being on the screen would not be an issue, however I have a unique situation where it would be a great feature. I would like to be able to use a function within Ignition to hide the mouse cursor when in runtime. I bring this up because I am displaying information from an Ignition project on 60" LCD LED screens, each with their own thin client. There is no easy way for the customer to move the cursor off of the screen if the clients are powered down and restarted. The only way this can be accomplished is to go to each of the 12 thin clients, hook up a wireliess mouse and move the cursor.

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [March 3, 2012, 12:24am UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097/2 "2012-03-03T00:24:13Z")

</div>

Well, this is probably the first and easiest thing to try. Put this in your client startup script (Project\>Client Event Scripts\>Startup):

[code]from java.awt import Robot

r = Robot()  
r.mouseMove(0,0)[/code]

Of course, instead of moving to 0,0, you’ll probably want to move somewhere far off the right. (Here’s the [docs](http://docs.oracle.com/javase/1.4.2/docs/api/java/awt/Robot.html) for the robot if you’re interested)

Regards,

---

<div class="post-metadata">

**Author:** ![rbradley82](https://avatars.discourse-cdn.com/v4/letter/r/f6c823/32.png) [@rbradley82](https://forum.inductiveautomation.com/u/rbradley82)\
**Post date:** [March 21, 2012, 11:51pm UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097/3 "2012-03-21T23:51:28Z")

</div>

So I tried that script, however it is not working. Any ideas?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [March 22, 2012, 12:06am UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097/4 "2012-03-22T00:06:51Z")

</div>

What script do you have exactly? Do you get any errors? Check the Console under Help \> Diagnostics in the client.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [March 22, 2012, 9:56am UTC](https://forum.inductiveautomation.com/t/hide-cursor-on-client-when-in-runtime/4097/5 "2012-03-22T09:56:20Z")

</div>

You can use [Nomousy](http://www.apps4apps.filetap.com/nomousy.html)
