(タッチされていない時ってtimeが0になりましたっけ?よく覚えてない…) 「前回touchの値が0なら、@1へ行く」とかはいかがでしょうか? if 50<tx && tx<100 && lastTime == 0 then goto @1 else lastTime = time endif