while true do local id, _, x, y = event.pullMultiple("touch", "interrupted") if id == "interrupted" then print("soft interrupt, closing") break elseif id == "touch" then print("user clicked", x, y) end end