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