Hi
I used the chessboard tutorial as a base for my game.
I copied the mouseTask from this tutorial and when I launch my game, sometime i have the mouse control and sometimes not.
Does anybody know where I should search ?
Hi
I used the chessboard tutorial as a base for my game.
I copied the mouseTask from this tutorial and when I launch my game, sometime i have the mouse control and sometimes not.
Does anybody know where I should search ?
I did a more precise test.
When my mouse is where the window appears, the hasmouse returns true but if my mouse is for example in the corner of the screen when i launch the game, the hasmouse return false.
In fact i made a mistake while copying the code, the return Task.cont must not be in the “if hasmouse” statement or the task will never be launched again.