Cursor image

Hey all

I want to change the image of my cursor. What I have now is a jME Picture whose position I change when I move my mouse. It works but I think it’s not the good way of doing it. Because when I leave my 3D canvas the mouse is still visible.

I changed the image of the overall application. But it doesn’t work in the 3D canvas.

Can someone point me in the good direction?

Thanks in advance.

Nope that seems to be a valid way to do it.

If you can detect when your mouse get out of the canvas, you can use the application.setCursorVisible(false) method to hide it and display it back when the cursor is back…