local done = false
while not done do
local event, x, y = os.pullEvent("mouse_click")
if (x >= 14) and (x <= 20) and ((y <= 2) and (y >= 4)) then
play()
done = true
end
end
Doesn't work. What now?
Posted 14 April 2013 - 08:06 AM
local done = false
while not done do
local event, x, y = os.pullEvent("mouse_click")
if (x >= 14) and (x <= 20) and ((y <= 2) and (y >= 4)) then
play()
done = true
end
end
Posted 14 April 2013 - 08:28 AM
Posted 14 April 2013 - 08:30 AM
y = 4Your if statement of the y values is saying this:
Posted 14 April 2013 - 08:33 AM
Posted 14 April 2013 - 08:45 AM
So how else can I make a huge clickable button? ^^Posted 14 April 2013 - 08:46 AM
SuicidalSTDz, on 14 April 2013 - 08:41 AM, said:
Posted 14 April 2013 - 08:49 AM
svdragster, on 14 April 2013 - 08:45 AM, said:
Posted 14 April 2013 - 08:49 AM
remiX, on 14 April 2013 - 08:46 AM, said:
Posted 14 April 2013 - 08:56 AM
(y <= 2) and (y >= 4)
(y >= 2) and (y <= 4)
Posted 14 April 2013 - 08:57 AM
Engineer, on 14 April 2013 - 08:49 AM, said:
svdragster, on 14 April 2013 - 08:45 AM, said:
Posted 14 April 2013 - 09:10 AM
0 members, 2 guests, 0 anonymous users