Don't step on water

Hello there. I’m working on map with lots of water around island. And there is need to not allow players step on a water. How do I do that? Thanks in advance

Blocking volumes:

image

Another approach would be to do traces in front of the character and stop the movement components movement when hitting water

Im wondering if OP means that the character can walk on water like Jesus allegedly did if you believe in that sort of nonsense.
In which case, the water mesh needs to be set to have no collision…