Input Variables in my blutility resets everytime I reopen the window/level,Input variables in my Blutility resets everytime I reopen

To make variables not reset I store them in the game instance. The game instance stays the same as long as you are playing the game. It does, however, mean you need to cast to the game instance to get and store them. Here is a good video on the topic: