[Solved]Timer Holdup?

Can a timer stop the stuff after it from happening until the timed function has happened? I have

function blah()  
timer.performWithDelay(1000, function2)  
print("This doesnt print after a second...")  
end  

Is there anyway to make it so that that print doesnt happen until after function2 has been called? [import]uid: 22824 topic_id: 10055 reply_id: 310055[/import]

how if you call that print in function2 :slight_smile: [import]uid: 12482 topic_id: 10055 reply_id: 36746[/import]

[lua]function blah()
timer.performWithDelay(1000, function()
function2()
print(“This does print after a second!!!”)
end )
end[/lua] [import]uid: 34945 topic_id: 10055 reply_id: 36771[/import]

Thanks all! That should work! [import]uid: 22824 topic_id: 10055 reply_id: 36863[/import]