Freeze Frame

hi
I’m making a platform game and i want the screen to freeze for a few seconds when it hits an object (eg, Spikes) the after it has finished freezing i want it to repeat the frame again.

thanx :slight_smile:
code would be great.