public static MouseManager.MouseMoverDelegate MouseManager.ThisMouseMoverDelegate
Allows you to set a delegate that will control the mouse movement from the current mouse position to a destination position. The delegate contains 3 parameters: Vector2i destination: The final mouse position desired. Vector2i normalizedDestination: The final mouse position, confined in the game window (this is equal to destination in case the position is already inside the window) Vector2i currentPosition: The actual mouse position. It is your duty to eventually set the debugMouse position, and actually move the mouse. This is what the original code look like: