Then, if that is impossible, can anyone help me with an alternative to this idea?
I needed water depth checker for a new maze I was going to make. The idea was, it would be a maze with water as the kill tile, but instead of killing you right away it deals damage and slows. This would make the maze far more forgiving for new players as you can correct mistakes and don't instantly die for a misclick.
There would also be areas of shallow water you must pass through with patrolling enemies on them, encouraging you go to as quickly as you can to avoid taking damage.
However, I needed different levels of damage. The deeper in the water you are, the more damage you take and the slower you get. Or else, it wouldn't make sense to have the water paths deal the same damage as the areas you are not supposed to pass through which are traps.
Is there any way to do this without using water depth?
(edit)
I was also planning on having terrain that sinks down the longer you stand on top of it, revealing water eventually. This wouldn't work nicely with just using Shallow and Deep.
Plus, having inbetween values would look so much nicer.
(edit2)
If there's no other way, how do I do what you suggested Dr. Super Good? It'll be a relatively small map.