Help is very much appreciated!
Thanks!
Posted 28 January 2013 - 09:22 AM
Posted 28 January 2013 - 09:48 AM
mon = peripheral.wrap("right") -- wrap monitor on the side...
mX, mY = mon.getSize() -- get the sizes of the monitor
while true do
e = { os.pullEvent() }
if e[1] == "monitor_touch" then
if e[3] == mX and e[4] == 1 then --
-- This would be the very top right of the monitor...
end
end
end
0 members, 2 guests, 0 anonymous users