mouseZone()
マウスポインターが指定の四角形の範囲内にあるかチェック。
書式:
variable
= mouseZone( x ,
y , width
, hight
)
枠内にあれば True (1)。
例:
bar(100,100,100+200,100+150)
while not key(k_esc)
if mouseZone(
100, 100, 200, 150 ) then
ink(rnd(rgb(255,255,255)))
bar(100,100,100+200,100+150)
end if
wend