Is it possible to adjust the opacity for Sprites?

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

Previously, I changed the visibile for the appearance of the Sprite. Now I want it to appear gradually

:bust_in_silhouette: Reply From: jgodfrey

You can adjust the alpha value of the sprite’s self_modulate property. So, something like this:

$Sprite.self_modulate.a = 0.5

The above will set the alpha value to 50%. To animate the change, you can drive that value via a Tween or an AnimationPlayer