Frame preview.

I need to watch the values of the variables in every frame when starting the game. I want to control the frame change. I can do this with the mouse on the panel by clicking on the Skip frame button, but then the window with the game is not active. And if the window with the game is active, then the Skip frame button is inactive. And I don’t know how to accomplish what you are writing about.