How to save each frame of my game as a .png?

What if I use the shot command?