Hi geniuses on this section, this is very weird, I have a animationplayer which has a node lined 2d, I want it to decrease in length while the time is running, when button paused, it should pause the animation, when button resumed, it should go on by the position before pause.
There are actually two problems,
1. the animationplayer doesnt stop, I tried stop(true) and (false) and none works,
2. the resume doesn not work, I tried using code 1 when paused and code 2 when resumed.
PausePosition = $AnimationPlayer.get_current_animation_position()
Any help is appreciated!