This is an attempt to set up a timer to allow the finish line to sense a marble hitting it (or a robot crossing it, etc). Connect to a Makey makey using the down arrow input. Click the green flag. Press the space bar at the same moment that you tell the racer(s) to Go.
Note: This is a rather simple timer I made to use in my classroom for a marble run assignment. There are only 4 digits displayed, including the decimal point, so by necessity the precision decreases whenever the elapsed time increases tenfold and the decimal point moves to the right. I know there are probably ways to fix that, but it does the job I need it to do. I welcome any suggestions to fix that issue. I was inspired by the (much more) Advanced Stopwatch project: https://scratch.mit.edu/projects/171307403/ I actually didn't need laps/splits, but the project demonstrated use of the timer sensing block rather than a timer variable to get the elapsed seconds. I found that using the timer variable was inaccurate at the millisecond level.