# gotoAndStop

**URL:** <https://forum.kirupa.com/t/gotoandstop/220864>\
**Category:** flash\
**Created:** [March 29, 2007, 11:39pm UTC](https://forum.kirupa.com/t/gotoandstop/220864 "2007-03-29T23:39:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eibwen](https://avatars.discourse-cdn.com/v4/letter/e/2bfe46/32.png) [@Eibwen](https://forum.kirupa.com/u/Eibwen)\
**Post date:** [March 29, 2007, 11:39pm UTC](https://forum.kirupa.com/t/gotoandstop/220864/1 "2007-03-29T23:39:57Z")

</div>

Hello, I’m Eibwen. I have a problem with a play button. When you click it, it was supposed to go stop scene game, frame 1 if you have 0 point. But, instead, it went to Scene Setup, Frame 1. Can you help me to fix it?

```auto

function playpress() {
 otheroutput.html = true;
 otheroutput.multiline = true;
 if (points>=1) {
  otheroutput.htmlText += "<b>You didn't use all of your points for your stats!</b><br>";
 } 
 if (name == "") {
  otheroutput.htmlText += "<b>You didn't type your name!</b><br>";
 }
 if (points <= 1) {
  gotoAndStop("Game", 1);
 }
}

```
