Script

getscriptthread

Returns a thread (or nil) that's derived from an associated script.

Syntax

getscriptthread(script: BaseScript): thread?