Can't Programmatically Change Position After AnimationPlayer Animation

Godot Version

v4.2.1.stable.official

Question

I have an animation in my AnimationPlayer, and an AnimationTree that controls it via BlendSpace2D nodes. For a mental picture, the animation is a player casting a fishing line.

The bait on the end of the line is an Area2D node with a ColorRect inside, and is animated to follow the line while it’s being cast, and as soon as it hits the water, the animation ends. This is done using the At End Switch Mode, and setting Advance > Mode and Enabled, on the AnimationTree’s node transition. At this point I’m trying to programmatically move the bait to follow the line while it reels, however, the position does not update, it keeps the last position of when the animation ended.

However, if I delete the keyframes in the AnimationPlayer for the position of the bait, the programmatic updates work perfectly as expected, and the position updates.

My suspicion is that I have an incorrect setting in my AnimationTree or AnimationPlayer, but reading the documentation hasn’t shined light on the problem. Also note, I can successfully update points programmatically of an animated Line2D node as expected, but for what ever reason, cannot update the position.

Thank you, any help is appreciated.