The swimming starts off like this, I didn’t have a Boolean for the swimming in the CatBP, I only had a Boolean used in the Animation Blueprint, in that event graph.
The code first starts off being attached to the inputAxis MoveForward, by a branch, the characters movement is, attached to a movement mode EMovement Mode Enum, which is attached to one more, Enum there I choose Swimming in the drop down list, then it’s attached to that branch.
the branch, and is linked to Forward Swimming part.
The Event on MovementMode Changed is the last part of the code added to the Swimming.