How to bind the UI Widet to the camera fade?

Hi I made a image Widget that appear when the player dies

I would like it to fade when the camera fade.

If the duration is fixed, animate widget opacity from 1 to 0 over duration:

Or use a timeline.