In 5.7, mouse XY input is not working while SetMousePosition is called in Tick

In 5.6,

And 5.7,

It doesn’t matter whether it’s implemented in Blueprint or C++
Is there a solution that anyone can give?