Yield

From MiniScript Wiki
Jump to navigation Jump to search

yield pauses the execution of the script until the next "tick" of the host app.

In Mini Micro, for example, this waits until the next 60Hz frame. Exact meaning may vary, but generally if you're doing something in a tight loop, calling yield is polite to the host app or other scripts.

See also: time, wait