# Check if playhead has passed on the timeline

**URL:** <https://forum.kirupa.com/t/check-if-playhead-has-passed-on-the-timeline/266680>\
**Category:** flash\
**Created:** [July 23, 2008, 12:45pm UTC](https://forum.kirupa.com/t/check-if-playhead-has-passed-on-the-timeline/266680 "2008-07-23T12:45:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chinmaytamhaney](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@chinmaytamhaney](https://forum.kirupa.com/u/chinmaytamhaney)\
**Post date:** [July 23, 2008, 12:45pm UTC](https://forum.kirupa.com/t/check-if-playhead-has-passed-on-the-timeline/266680/1 "2008-07-23T12:45:25Z")

</div>

Can somebody help me out with this script?

If (playhead has played frame 15) then ------------ I need the script for this :cantlook:  
gotoandplay (10)  
or else  
gotoandplay (20)

Please do reply even if this sounds stupid…  
thanks…
