How can you to play animation player on time scale 0

Godot Version

4.2.1

Question

I have a pause menu that when it’s shown it sets the Engine.time_scale = 0. but I want to play an animation with the animation player when it is shown or hidden

Don’t pause by setting Engine.time_scale, pause by pausing the root node of the tree. Here is documentation about pausing. Basically, doing it this way lets you control which nodes are affected by setting their process modes.

1 Like

ok thanks