Cast to User Interface

I am trying to get a reference to a float variable from the widget to blueprint class. How may I do this?