How to "Fade In/Out" a canvas?

I was wondering if anyone has played with fading in/out a canvas drawpicture? I am playing with an effect idea for a few buttons and I can’t seem to catch this correctly with my timer setup.

Any ideas would be appreciated! Thanks!

There was a conversation about this very recently:
https://forum.xojo.com/11600-fade-out-an-image

Perfect thanks Jason! I surely missed that one :wink:

Cool that demo from Matt C. shows fading the mask. I will also try the same using g.transparency.

Thanks again!