How do I stop him from going out of the water?

He has a projectile movement and is homing to my player.

Hey there @VKittyCat2022! You will have to clamp the vertical location of the fish to the water. I think you can use GetWaveInfoAtPosition and use the InPosition output as the clamp value.

Maybe you just need to add a collision box slightly above the water surface to block it.