Because 1.48 just came out with touchscreen monitors,Im gonna make my own program thats compadible with that.But first I need a peice of code to make it clickable to do it.Do any of you guys have an peice of code that can proboly do that?Thank you if you do.
Q:How to make things clickable?
Started by Zambonie, Dec 24 2012 06:59 AM
3 replies to this topic
#1
Posted 24 December 2012 - 06:59 AM
#2
Posted 24 December 2012 - 07:02 AM
local event = os.pullEvent() if event == "mouse_click" then if X >= 1 and X <= 5 and Y >= 1 and Y <= 5 then --do something end end
that will make a 5x5 click-able square in the top right corner of your screen
#3
Posted 24 December 2012 - 07:04 AM
top left actually
#4
Posted 24 December 2012 - 07:12 AM
Ok,thanks.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











