acls while 1 bt=button(2) if bt==16 then break vsync 1 wend Aボタンが押されると終了するゲームです