Hi everybody
I want to create a counter in 10 seconds. When clicking 'start scanneren', the timer should begin and stop at ten seconds. Does anybody knows how to creare it?
Beste regards
Martin
You can use getPosition();
Example in API is:
if (sym.getPosition() == 0) { sym.play(0); } else { sym.play(500); }
You could use Javascript's setInterval method for a timer, but what do you actually want to happen while the timer runs, and after it's completed?