scratch cat is the pause button, nano is the example with the code that needs to go into every single sprite. Not the most efficient way but best I could do in a few days. You may use it in your games if you want just give me credit
for a project called cookie planet, here: https://scratch.mit.edu/projects/317183461/