Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- m = peripheral.wrap("top")
- m.setTextScale(3)
- term.setCursorPos(1,1)
- print(1)
- term.setCursorPos(1,2)
- print("->")
- term.setCursorPos(6,3)
- print("+")
- while true do
- event,side,x,y = os.pullEvent()
- if event == "monitor_touch" then
- if x == 1 and y == 1 then
- term.setCursorPos(4,2)
- print("1")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement