How do i cast from a widget to a character blueprint

all the tutorials tell me to do it from my actor in the scene but the widget isnt in the scene