Invert Y Menu Option Creation

Could someone kindly guide me on how to create this option in a menu. My current game has a menu but I’m wondering how to actually change this in blueprints so people can change Invert Y during the game by selecting a menu option. Is the best option to use a game instance??? I need to set this up so the player can switch back and forth Invert Y on Mouse and Gamepad.

A real easy way would be to use a select node, within in the player BP, where if the bool is true, it will multiply by negative one and if it’s false, it will multiply by one.

The menu option could modify a variable in the game instance and that way it would stay persistent. On the character BP’s begin play, you’d get the game instance, cast to the custom GI and read the value of the bool.