How to animate alpha with AnimationPlayer?

Godot Version

4.3 beta 2

Question

How do i animate the alpha channel of something in Godot 4.3?

  1. The IDE lets me keyframe modulate but not the alpha channel.
  2. Manually modifying the property path with :a doesn’t work.
  3. Manually modifying the property path with .a doesn’t work.

Also, oddly, the end keyframe for .a shows a value (0-1) but the start keyframe shows the entire color, not the alpha.

Hello,

The Value are vector4 => RGBA, you should have this:

Not sure whether this has been changed since OP asked this question (I’m on 4.5.1).

But for future readers: I had the same issue, wanting to animate just the alpha value of a font colour while being in control of the colour tint via code.

For me, the second option OP already tried worked:
In the animation track oflabel_name:theme_override_colors/font_color I simply needed to append the “:a” so it resulted inlabel_name:theme_override_colors/font_color:a. That way only the alpha value for the font colour was affected.

Hope this helps.