Duck being shoot while behind water, WHY!! HELP!!

I am making a carnival duck shoot game. So I have a duck and set of waves. The duck moves across the screen behind the waves and there are parts of the waves that cover the ducks. So I'm shooting at a wave and the duck passes behind it and the duck gets destroyed. Im destroying the duck through the wave! I should only be able to destroy the duck when there is nothing in front of it! Does anybody know how to fix this?
Comments
Create a self attribute called clickable, when it overlaps with water change to false, otherwise true.
Then in the when touch is pressed rule make sure it's "ALL" & add the clickable must be true
Matt