Simulate locks mouse to viewport when right-click held down

When simulating my project, if I hold down right-click to look around, it seems to lock cursor to viewport, so I can only rotate camera a little bit before I have to let go of right mouse button and then re-click it. If I create a new project using top-down template it exhibits same behavior, but not if I use first-person template, so it must be some setting in templates that I can’t find. Also tested this on 4.11 preview and it has same behavior, top-down template locks cursor, first-person doesn’t.

Hi kgamble,

This Simulate mouse behavior is tied to default Player Controller used in level. In First Person template, default Player Controller Class used by GameMode is default PlayerController class, and in Top Down template GameMode uses TopDownController Blueprint. Open that up and look for this in Class Defaults:

73316-topdownmouseinterface.png

You’ll notice that Show Mouse Cursor is enabled. During Play, this locks mouse to viewport when viewport has focus. Simulate operates same way; when viewport has focus, mouse movement is locked to it. You can bypass this by disabling Show Mouse Cursor while testing in Simulate.

Hope that helps!

That did it. Thanks for clearing that up.