Mouse.SetPosition() not working in a UWP project

Guess it’s a bug, was working fine in a regular windows project… anybody found a workaround for this?

That is a limitation on UWP… there is no way to set the positon of the mouse. We have no way to fix it.

We should make a note of that in the docs:

The only work around is not depending on it. You need to fix any code that depends on setting the mouse position to use relative mouse movements instead.

Using Windows.UI.Core.CoreWindow.GetForCurrentThread().PointerPosition works for me.