Reaction time experiment

This condition may not ever be met because millis() is quietly updating in the background and you are only checking it every draw cycle which is 1/60 of a sec (default framerate is 60 fps).

The chance that they are exactly == at the instance you check is not likely.

Other options are >, <, >=, <=, != …

Pick one that makes sense and try it.

Reference:

:)