In jsui, How to make sketch transparent? (or alpha = 0)

Sabina's icon

Hello,

I need to make a transparent button on a transparent sketch. So far, I was able to draw a transparent button, but I can not find information about how to make sketch transparent. (in other words, is it possible to set sketch alpha parameter to 0? How to do it, any example available?

I would appreciate any kind of clue or help.
Have a great day!
Sabina.

Emmanuel Jourdan's icon

For transparency, you have to use mgraphics instead of sketch.