AryanGupta
(Aryan Gupta)
November 28, 2020, 7:26am
#1
Write a short description
It is only for making a Component Transparent.
Add a picture of all the blocks
Write instructions to use your extension
Component
- Input your Component.
Value
- set your transparent value between 0.1 - 1.0 with f
as it is a float
value
Include a Download link here; can be direct or a link to your website/host
aryan.gupta.SetOpacity.aix (4.9 KB)
26 Likes
Peter
(Moderator)
November 28, 2020, 7:38am
#2
Why not declare the value a float in your code and let the value use a number block instead of a string?
4 Likes
AryanGupta
(Aryan Gupta)
November 28, 2020, 8:04am
#5
i already tried , when using int as a input it return me value like 1.0 , 0.6
and after casting it to float it returns me same value. and the code only works if the value have f
. so, i am input it as a String.
Hope you understands me
AryanGupta
(Aryan Gupta)
November 28, 2020, 8:11am
#6
I really like … great extension
1 Like
AryanGupta
(Aryan Gupta)
November 28, 2020, 2:04pm
#10
This post was flagged by the community and is temporarily hidden.
Amazing extension @AryanGupta .
Try to take “float” directly as input rather than int or String.
1 Like
AryanGupta
(Aryan Gupta)
November 30, 2020, 1:57pm
#13
My eyes were filled while seeing your comment
2 Likes
Please stop disrespecting the forum’s rules by always posting in languages other than English. Every single one of your posts is is a non-English language.
3 Likes
Lito
(Lito)
November 3, 2024, 8:17pm
#16
Great Work! This circumvents an issue with the opacity of Buttons
that has not yet been resolved in AI2.
I was surprised that it accepts values ​​less than 0.1
And yet, I expected the extension treat the Screen
as another component… But if Screen
is indicated as a component, accuses a Error Message.
But works well with Arrangements
Lito
@>–>—