Hello,
I am a beginner and i’m trying to create a button when a specific function is called.
It is basically like the button is displayed when the function is called and as soon as the button is clicked it should dissapear from the scene!
I’m new to LUA and Corona so, i’m sorry if i got the basics wrong or am missing something really obvious!
Code is something like this:
– function declaration
local function timerOver( event)
print( “timer over” )
titleDisp.text = “Vote! Sucess or Failure”
– Create Button here (or maybe enable it here)
end
– function call
timer.performWithDelay( 15000, timerOver)