Try to use the "Set Solid collision filter" action.
For each different sprite object, you can see a "Tag" property in his properties bar, just under the "Solid" checkbox.
Lets assume that your water is a sprite with the "solid" box checked. You can write "water" in the "Tag" property.
If the sprite A needs to collide with your water sprite but not the sprite B, then you have to check the "solid" box for the two sprites. Be sure to use the action "Set Solid collision filter" at the start of the layout on sprite B. You have to choose the option "Exclusive" and write "water" (with the "") in the textbox "Tags".
You sprite B will ignore all solids with the tag "water".