Animation Blueprint Play on collision with object.

Hello,
I am trying to make swimmable water for my final college project and I have been successful so far and everything works except this. I am trying to get an animation blueprint of my character swimming to play when I come into contact with a box which is inside the physics volume. I have got the collision and the animation to play but the animation does not actually move its just frozen solid in the position. I am really struggling to get this animation to play on collision and end when not colliding with this box. If anyone can tell me which collision presets to set the box to and also how to stop the animation that would be much appreciated