mouseButton
マウスボタンの状態を返します。
従来の
bMouse
構文も引き続き使用可能ですが推奨されていません。
文法:
variable
= mouseButton
1 = 左ボタン
2 = 中央ボタン
3 = 右ボタン
用例:
autoback(25)
while not key(k_esc)
locate(35,15)
prints(
mouseButton
)
waitVBL
wend