# New Game

**URL:** <https://forum.kirupa.com/t/new-game/311725>\
**Category:** Uncategorized\
**Created:** [July 14, 2010, 6:01pm UTC](https://forum.kirupa.com/t/new-game/311725 "2010-07-14T18:01:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drumlegend](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@Drumlegend](https://forum.kirupa.com/u/Drumlegend)\
**Post date:** [July 14, 2010, 6:01pm UTC](https://forum.kirupa.com/t/new-game/311725/1 "2010-07-14T18:01:26Z")

</div>

I am currently working on a new game and I need help on this part. It is probably simple to do but I am a noob. Basically I am making a window cleaning game and I have set it up so that the dirt slowly dissapears through the frames. What I need to know is how to I script it so that each time I press space it jumps to each frame.

e.g hit space jump to frame 2 press again jumps to next frame.  
I know How to set up the key press and know space is 32…  
thanks for any help:)
