When the red block touches the red line, press the correct key to hear the note play. Press 1 for C, 2 for D, 3 for E, 4 for F, and 5 for G.
Thanks to joakleyiii for the original project Piano Hero! Ode to Joy. I changed the coding to reflect the numeric keyboard system my students are used to using and edited the design elements a bit. I also added a note to the melody.