I agree that using Tick() for input isn’t the best approach — I just wanted to mention it for comparison, to help illustrate what makes the events-driven approach so much tidier.
Now that I have a better understanding of your goal — kind of like typing in a cheat code — I have a different solution to suggest, which I’ll post in a new answer.