UE4 Remove Strafing

How do I go about removing the ability to strafe when walking around? I am making a first person pixel styled horror game, and would like to remove the strafe movement for a classical feel. Thank you.

You could remove the input for strafing under project settings or if you want to make it case-specific add in a boolean in your controller or character blueprint where you implement move forward.

Good luck!

Of course I meant move sideways.