Game Development Community

Cursor problem

by Nir Ziso · in Torque Game Builder · 12/07/2006 (2:03 pm) · 4 replies

Every time when I leave my torque window the cursor stay in this window
How can I hide this cursor when I leave the window and show it again when I am in the window

#1
12/07/2006 (6:23 pm)
How about detecting when the cursor is at the last pixel on the edge of the screen and hide it?
#2
12/08/2006 (7:23 am)
There is not another way to do it?
#3
12/08/2006 (7:52 am)
How many different ways of doing it do you require to get your game to work? Did you try it? You could do a c++ solution and test for mouse position there. No matter how you do it, two things are going to be involved:

1. Where is the mouse?
2. If it's not where I want, hide it.
#4
12/08/2006 (1:07 pm)
Thanks alot ben can you answer me to this thread to
http://www.garagegames.com/mg/forums/result.thread.php?qt=54862