[Solved] How can I control the opacity of a component in blocks

How can I control the opacity of a component in blocks. In the designer, you can edit the opacity in: background color to RGBA and edit the ‘A’ part. However, the blocks only lets you choose the color but not opacity. As shown below:
In designer:
image
In blocks:
image

Hey @juschan0605,

You can also use a text block here.

If your type in rgba(100, 0, 256, 0.5) you can manually specify the red, green, blue and alpha values.

R,g, and b should be between 0 and 256
Opacity should be between 0 and 1

For more, take a look at the " Ease Out Ease In" function here:

Hope that helps!

1 Like

Thanks for your help! :slightly_smiling_face:

1 Like