-
Notifications
You must be signed in to change notification settings - Fork 0
Threads Module
syeyoung edited this page Jul 16, 2020
·
1 revision
Thread module contains blocks defined in controls tab related to cloning. Textratch renamed these into threads.
Threads module can be imported via
Require "Threads";
Threads::createNewThread() : create new Thread (clone)
Threads::getCurrentThreadIndex() : get Index of current thread running this script (Expression only)
Threads::getTotalThreads() : get number of total threads created (Expression only)
Threads::deleteThisThread() : delete this thread
Threads::onThreadCreation : event that gets called when thread gets created in the same sprite