(Beginner Question) New Idle Anim based on time being Idle

Godot Version

v4.3.stable.official

Question

I'm trying to figure out how to change my idle animation to the character eating something or sitting down when being in idle for longer periods. I tried using a timer to switch between the animations but it doesn't work for me. I'm also not sure if it would be easier to use the animation player or the animatedSprite2D for this specific thing. Any help is appreciated.

Why isn’t a timer working for you?

It doesn’t matter if you use the AnimationPlayer or an AnimatedSprite2D if you just want to animate using sprite frames. If you want to animate/use other properties, you need the former.