Gets system's milliseconds
Last updated 2 years ago
text('Milliseconds since starting this sketch:',200,250) text(millis(), width/2, height/2)
millis()
The millis() function works by keeping track of the number of milliseconds that have passed since the program started running.
You can use this in your program to create time-based behaviors.
Find these documents helpful? Let the people who made them help your child learn to code at !
We'd love to hear your Feedback/Comments .