No key icons showing on sprite's Inspector when a Animationplayer is added

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

Hi,

I’ve been following a few tutorials on creating an animated shader for my sprite player - it’s a flash when the Player is hurt.

After creating the shader i’m asked to create an AnimationPlayer Node, then add a New Animation and name it.

At this point in the tutorials I’m supposed to be able to go to the Player Sprite’s Inspector and add some keyframes from the Material Shader, however no Key icons show up at all.

What am I doing wrong?

At the bottom there is “Animation”. it won’t come out if it’s not open.

ramazan | 2022-07-01 11:24

Could you explain a little more please?

JayH | 2022-07-01 12:10

look at down

output * Debugger * Audio “ANIMATION”

ramazan | 2022-07-01 13:22

:bust_in_silhouette: Reply From: Inces

Lower menu must be set to Animation for this to work. Look at the bar at the bottom of screens. In second printscreen it is set to SpriteFrames menu, in 3rd it is set to Shader. Just choose Animation there

Thanks! I didn’t notice as I’ve never switched them before.

JayH | 2022-07-01 14:41

it switches to Animation automatically whenever You select AnimationPlayer Node

Inces | 2022-07-02 17:42