In-Game DefinitionsGlobalsScripting FunctionsMainSetThreadWaitOn this pageSetThreadWait Function name in Main.lua Usage SetThreadWait(tag, duration) Parameters tag, duration Returns nil|any