gotoAndStop

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?


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);
 }
}