try something like
on button pressed/toched/click etc,,
>> sprite is overlapping "Note" (note is the one in red, blue etc that " falls", and sprite the line at the bottom) > ok
>> X sprite is overlapping "Note" > wrong (ok and wrong are the actions to perform)