ScriptsisexecutorthreadChecks whether a thread was created by Volt. Syntax isexecutorthread(thread?: thread) -> boolean Parameters ParameterTypeDescriptionthreadthread?Thread to inspect; defaults to the current thread Returns TypeDescriptionbooleanTrue when the thread is an executor thread Example print(isexecutorthread()) -- true for a normal Volt script thread local runningScript = getrunningscripts()[1] local gameThread = runningScript and getscriptthread(runningScript) if gameThread then print(isexecutorthread(gameThread)) -- false end Related Functions checkcaller - Check the current call origin getscriptfromthread - Inspect a thread's associated script getsenvPrevious PageloadstringNext Page