Button UI Element Opacity and editing components


I want to know if there is a way to modify the component Button to use the opacity of the Element instead of the Alpha values of the tints (RGBA)?

While on it, there is a way to modify any component? or get the code so i can made a new version editing them instead of making a script that does the same with some minor difference from scratch?

Thanks in advance.

Not 100% sure what code you are asking for. If it’s any of the engine code, you can find it on GitHub here: https://github.com/playcanvas/engine

1 Like

Thanks, i usually dont touch the engines. But this time it could save me some time.
Gonna dig in when i have the time.