in the target instances, this is how you would check if the notes are able to be hit:
if (Math.abs(target.y - receptor.y) < n)
where target.y is the instance's y position and receptor.y is the y position of the corresponding receptor
n is however big your window is, in other words how close you want the notes to be to the receptors in order to be hit