I am implementing ladders in my 2D platformer.
The user presses up or down when the Player node intersects a Ladder node to enter a climb state. This also snaps the Player to the Ladder and disables gravity. If the user releases the up or down button, the Player stays put on the Ladder.
When in the climb state, I only want to play my climb animation when the user is holding up or down. If they release the button, I want the animation to freeze.
How can I achieve this in Godot 3.0?
I am controlling my animations with an