How can i define a certain widget in blueprints?

Hey there,

i have a widget object inside of a blueprint.
I would like to change the widget class of the of the widget object in the event Graph.

How could i do this?

Thanks