Creating a Stopwatch that activates with a keypress

I am trying to create a stopwatch that is activated when the user holds the spacebar down and begins once the spacebar is no longer pressed. It will stop the timer when any key is pressed.
it needs to be ticking on screen as it counts up, I need it to display Minutes, seconds, and milliseconds.

How would I go about doing this?

Try explore this new feature on bubble.
image

what function gets a stopwatch to start though?

Also, I don’t see that interactions menu

Go to the workflow tab and click Add an event, it’s on the picture above.

This topic was automatically closed after 70 days. New replies are no longer allowed.