AnimationPlayer: single frame/still placeholder animations

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By oskfo

I’m following this tutorial:

I have a Sprite node with an AnimationPlayer child node. I have a single sprite sheet that has one full animation and a bunch of single-frame placeholders:

sprite sheet

Until I create the rest of the animations, I’d like to switch between these placeholder animations.

My question is: is there a more efficient way to show a still frame using the animation system? Currently it seems like my single-frame placeholder animations play for one second. Is there a way to just make it a “still” frame? Is there a better way of doing this (without creating a Sprite node for each animation)?

:bust_in_silhouette: Reply From: oskfo

Turns out there is a way to set the animation duration to 0 (it clamps it to 0.001):

screenshot