- Press P
- Mouse position gets set running in PIE
- Mouse position gets ignored and instead set to center in standalone (-game) or when packaged.
- Add Delay node before
SetMousePositionso that it gets called after next frame (but this is framerate dependent)
- Yes (In 4.13.2 it was working perfectly.
SetMousePositionwas added in 4.14 but I added the exact same function code on my 4.13 project since this is very useful)
May or may not have something to do with this 4.14 change:
If we are unable to set the focus immediately, possibly because the user is setting focus in the Construct callback before the widget is in the tree, we now update the Slate Operations FReply on Local Player to set focus in the next frame when it is more likely the widget will become focus-able.