Play in Viewport Mouse Sensitivity

How do I change the mouse sensitivity when using “Play this level in the active level editor viewport (Alt+P)”? I’ve been able to adjust my mouse sensitivity in the Editor Preferences by searching “mouse sensitivity”, but it only applies when editing in the viewport. It doesn’t apply when playing. Is there an easy way to change the sensitivity in the editor? Or does it have to be set up programmatically in my code?

Version 4.22.3