This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
FHSgames99's profile picture

How to make a clickable monitor?

Started by FHSgames99, 18 November 2015 - 06:08 PM
FHSgames99 #1
Posted 18 November 2015 - 07:08 PM
Hello I wanted to ask how do I create a program that let you click with the right button on a monitor? :)/>

sorry for my english.
Lyqyd #2
Posted 18 November 2015 - 07:53 PM
Your program will need to watch for monitor_touch events and react accordingly. You might check out the monitor API and the events pages on the Wiki.
Lupus590 #3
Posted 18 November 2015 - 09:49 PM
To make you like easier, here is the wiki page for the monitor_touch event:
http://computercraft.info/wiki/Monitor_touch_%28event%29
FHSgames99 #4
Posted 19 November 2015 - 06:47 PM
ok thanks