Posted 14 January 2014 - 05:20 PM
How to make a button? Or multiple?
Punch tree. Take log, place log in crafting grid. Take planks, place planks in crafting grid. Extract buttons.
You may also find the Touchpoint API useful.
Did you check out the link he posted?
while true do
local event, button, x, y = os.pullEvent("mouse_click")
if (y == 1) and x >=1 and x <= 5 then
print("YOU CLICKED IT!")
end
end