Updating the score when the ball collides with the box trigger

Thank you but it didn’t work.
The widget blueprint is not an actor, its the blueprint to show the score on the screen.