Widget; cast to object problem

Hello,

I’m making a small video game where “boxes” are falling from the sky and the 2dcharacter is collecting them.
My problem is when he is not collecting them he should lose his life.
How should I do this?

I tried it with counting backward when the “box” is hitting the ground, everything works fine but somehow I can’t make the figure visible in the widget.

It worked fine when the 2dcharacter is collecting them. But when I bind my textbox and cast it to my ground I need an object reference. Without it, I won’t work. But I have no clue what is the reference?

Store variables inside your Controller or Character so you can easily cast to controller or character inside your widget.