Hey guys!
Quick question again…
function countTime( event ) -- Count Time Function Used By The Button if clicked == 0 then timeStart = os.time() print("Starting Time: " .. timeStart) button1.x = 500 button2.x = display.contentCenterX clicked = 1
When I click a button, it sets time start to os.time()
How do I constantly check my program to see if two seconds has passed so I can do something from there?
Thanks!