I think that you cant hide the system cursor like that (you can only hide it in GE preferences). But you can do it with an actor parented to the mouse with a code something like this
- Code: Select all
if (MouseActor.directional_velocity==0)
{
CreateTimer("Event Actor", "MouseHide", 20000);
}
else if (MouseActor.directional_velocity!=0)
{
//destroys the timer so it dosent hide after you move the mouse
DestroyTimer("MouseHide");
VisibilityState("Event Actor", ENABLE);
}
On MouseHide timer hide the MouseActor and remember to set the timer to count only once or it will hide your mouse every two seconds.
I havent tried it out yet but i think it should work
, if anyones got a beter way to do it please say id like to know.