# getTimer

**URL:** <https://forum.kirupa.com/t/gettimer/37503>\
**Category:** flash\
**Created:** [December 10, 2003, 11:40pm UTC](https://forum.kirupa.com/t/gettimer/37503 "2003-12-10T23:40:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [December 10, 2003, 11:40pm UTC](https://forum.kirupa.com/t/gettimer/37503/1 "2003-12-10T23:40:24Z")

</div>

I have a MC with a motion tween inside of it. At the end of the motion tween I have

```auto

stop();
if (getTimer()>=5000) {
	gotoAndPlay("stairs");
}

```

Why doesn’t this work? It does not wait 5seconds. The scope looks right as well so I’m stumped

Sandman9
