Posted 04 May 2013 - 11:35 PM
I know you can get a touch on a monitor by using this code:
local event, <side>, x, y = os.pullEvent("monitor_touch)
but is there a way to after this line do like an
if x = 1 then
print ("1")
else
print ("no")
end
or something like that? I like to make my own programs but when it comes to touch screens I'm lost like lost lost….any help would be GREAT!
local event, <side>, x, y = os.pullEvent("monitor_touch)
but is there a way to after this line do like an
if x = 1 then
print ("1")
else
print ("no")
end
or something like that? I like to make my own programs but when it comes to touch screens I'm lost like lost lost….any help would be GREAT!