I would like to have an area of the screen to check for clicks but i don't know how?
How can i define an area to check for mouse clicks?
I know how to check one point but how do i do an area.
By point i mean like this:
while true do
event, button, x, y = os.pullEvent(mouse_click)
if x == 1 and y == 1 then
print("Hello World")
end
To be more accurate i want to make a button.












