Hello, everyone! Is there a way to consume and hid...
# korge
m
Hello, everyone! Is there a way to consume and hide a mouse cursor for proper handling of mouse move events for camera rotation in a 3D scene?
At now I'm using this way for tracking a mouse, but it is not clear to me how to hide the cursor and/or center it properly
Copy code
Korge {	
    solidRect(width, height).position(0,0).apply {
		cursor = GameWindow.Cursor.DEFAULT
		mouse {
			onMove {
				println(it.currentPosLocal)
			}
		}
	}

    scene3D {
        // ...
    }
}
d
I guess you want to lock the cursor. There is this issue for that IIRC: https://github.com/korlibs/korgw/issues/6
🙏 1