thanks! i didn´t know about SetCursorPos(). could this be used to limit the mouse cursor to the engine window? is there also a GetCursorPos()? could you post an example which does this?