Adding material for UI

Hello! How can I add material to element?

I have this project, where in script matresolve.js i adding a basicmaterial to ui.
I do this for manipulate a blend mode for a material.

Hi @pekarnik and welcome!

You can add a custom material to an Element only when it’s of image type:

For text/buttons you will have to use the exposed properties to edit the output of the element, and sadly you can’t change the blendMode.