Cant fire an event in widget(with cast to, blueprint interface)

Hi

I’m developing a Tower Defense game, I have resource providing buildings that give resources every 5 seconds.

I used actor blueprint as for the buildings and used the widget component for them(didn’t want to spawn or destroy widget on top of the buildings every 5 seconds).

I made a custom event in my widget blueprint class for sending text and color information for the widget. the problem is can’t call the event anyway. neither with “cast to” or “Blueprint interface” in my resource building. it’s very odd! I did something like this thousand times with different kinds of blueprints, but can’t understand what’s wrong with widgets!

Thanks!

I figured it out!

should use “get user widget object” node.