Delays?

Are delays/waits a thing in corona?

I’m trying to do a for loop, and need a delay between each loop

local value = 0 for i = value,8 do value = i --delay(0.1) wait(0.1) end

The three support topics you’ve posted so far seem to come expectations from other systems. I think you’ll be happy to see our transition and timer libraries. In general, the guides and API documentation in our docs are a great place to start!
 
So in Corona, if I want to do something 8 times on an object, spaced 3 seconds apart, I’ll do something like this:
 
[lua]local functionToPerform()
    print( “Hello!” )
end

timer.performWithDelay( 3000, functionToPerform, 8 )[/lua]
or inline:
[lua]timer.performWithDelay( 3000, function()
        print( “Hello!” )
    end, 8 )[/lua]

Thank you so much!

The three support topics you’ve posted so far seem to come expectations from other systems. I think you’ll be happy to see our transition and timer libraries. In general, the guides and API documentation in our docs are a great place to start!
 
So in Corona, if I want to do something 8 times on an object, spaced 3 seconds apart, I’ll do something like this:
 
[lua]local functionToPerform()
    print( “Hello!” )
end

timer.performWithDelay( 3000, functionToPerform, 8 )[/lua]
or inline:
[lua]timer.performWithDelay( 3000, function()
        print( “Hello!” )
    end, 8 )[/lua]

Thank you so much!