Animating Gui box transparency?

'lo

I put a box with a texture (a yellow circle) in a Gui.
I want to animate the Alpha from that texture to make it goes invisible and return.
But the manuel seem to say there is no way to change the Alpha stat from a Gui element.
https://defold.com/manuals/properties/

Is there a mean ?

Note that all color values are encoded in a vector4 where the components correspond to the RGBA values:

x
The red color component
y
The green color component
z
The blue color component
w
The alpha component

So to animate the alpha of a GUI node, you animate "color.w".

1 Like

Oh, that’s why the manual spoke of Vector4. Thank you, I will try tomorrow.