A tool for outputting the state at a given frame