break while文、for文のループを抜け出します。
while文、for文のループを抜け出します。
例1
extends SpriteChar; while (x<300) { x=x+1; if (getkey(32)) break; update(); }