[−][src]Static p5_sys::global::second
pub static second: SecondInternalType
p5.js communicates with the clock on your computer. The second() function returns the current second as a value from 0 - 59.
Examples
let s = second();
text('Current second: \n' + s, 5, 50);