Yield

From MiniScript Wiki
Revision as of 16:27, 18 March 2020 by ZachStrout (talk | contribs) (Created page with "<c>yield</c> pauses the execution of the script until the next "tick" of the host app. === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !! Meaning...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Arguments

Parameter Name Default Value Meaning
paramnamd1 type description


Example

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