when true-or-false-instruction-list instruction-list
Starts an independent parallel process that repeatedly tests whether the first instruction list reports true or false. If it reports true, the second instruction list is run. To stop a when instruction, use cancel (only on the true-or-false-instruction-list), Stop All, or press Ctrl+Break.
example
when [touching? "t1 "t2] [t2, ht]
See MW Vocabulary (in Resources) for links to other projects using this term.
© LCSI, reprinted with permission