You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The delay() function halts for a specified time. Delay times are specified in thousandths of a second. For example, running delay(3000) will stop the program for three seconds and delay(500) will stop the program for a half-second.<br />
21
+
<br />
22
+
The screen only updates when the end of draw() is reached, so delay() cannot be used to slow down drawing. For instance, you cannot use delay() to control the timing of an animation.
23
+
]]></description>
24
+
25
+
<syntax>
26
+
delay(<c>time</c>)
27
+
</syntax>
28
+
29
+
<parameter>
30
+
<label>time</label>
31
+
<description><![CDATA[int: milliseconds to pause before running draw() again]]></description>
0 commit comments