Mouselock not Implemented?

From the source for hxd.Window :

function set_mouseLock( v : Bool ) : Bool {
	if( v ) throw "Not implemented";
	return false;
}

Is there any other way to lock the mouse position? I noticed hxd.SceneEvents has something, but I’m not sure how to implement it with a 2D scene

It’s not implemented atm

Well, I decided to use : sdl.Sdl.SetRelativeMouseMode(true);

This keeps the mouse from exiting the window, but is there any way to even relocate the mouse cursor manually? I’m designing a raycaster engine in heaps, and I would like to use the mouse for aiming.

Thanks in advance