# Reset button

**URL:** <https://forum.kirupa.com/t/reset-button/39425>\
**Category:** Uncategorized\
**Created:** [January 7, 2004, 5:45am UTC](https://forum.kirupa.com/t/reset-button/39425 "2004-01-07T05:45:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashroiem](https://avatars.discourse-cdn.com/v4/letter/f/a3d4f5/32.png) [@flashroiem](https://forum.kirupa.com/u/flashroiem)\
**Post date:** [January 7, 2004, 5:45am UTC](https://forum.kirupa.com/t/reset-button/39425/1 "2004-01-07T05:45:11Z")

</div>

i have a timeline with one keyframe for each diff.movies. the movies have a zooming function and it is also draggable.  
i want to create a reset button where i want it to go back to its original state assuming i had already used the drag or zoom buttons. my problem is i only used a single keyframe in each movie residing in the same timeline/layer.

ex. frame 3 with keyframe  
frame 4 with keyframe  
frame 5 with keyframe

i used this code

on (press) {  
prevFrame();  
}

it works but it jumps to the other movie.  
is there a way to make a reset button using only a single keyframe?

sorry for my long question.

flashroiem
