Game Development Community

CursorOff(); TGB 2D

by Felipe O.C.R · in Torque Game Builder · 08/07/2011 (7:12 am) · 2 replies

Hello,

This function isn't working for me in TGB 2D 1.75. What can I do to do it? I really need to disable the cursor not just hide it!

Thank you,

Edited. Please change this topic to "TGB" area. I don't saw the area that i was when I click to post.

#1
08/07/2011 (7:32 am)
Are you calling Canvas.setCursorOn(false); ?
#2
08/07/2011 (9:04 am)
Hello Matt,

I found a solution exactly now:

For this function work I need to put it ever that I call some "canvas function".

I was putting it just on the beginning of my game.

Thank you so much to try to help! :)