key()
指定されたキーコードのキーが押されたらTrueを返す。
書式:
variable
= key(
keycode
)
キーコードのリスト
Keyboard keycodes
例:
prints("press ESC key to exit.")
while not
key(
k_esc
)
wait(100)
wend