Custom WASD Navigation for Horizontal Movement in Level Editor

Hello everyone,

I’m looking for a workaround or a utility tool that modifies the viewport navigation (in the level editor, not in gameplay). Specifically, I want to reassign the WASD keys so that pressing W/S and A/D moves the viewport forward/backward and left/right, respectively, while maintaining the same height (i.e., horizontal movement only). Currently, the default behavior sometimes acts like zooming or includes unwanted vertical movement.

I’ve explored the idea of overriding the FEditorViewportClient in C++ to adjust the movement vector (by zeroing out the vertical component), but I’m finding the process quite challenging given my current experience with editor customization and C++.

Has anyone created a plugin or found a workaround that achieves this? Any guidance would be greatly appreciated!

You can access key bindings if you go to Edit → Editor Preferences… and search for Viewport Navigation.