How to render a widget to the screen?

1.Add a widget component to your screen actor.
image

2.Change the render to world space and widget class to your widget.
image

3.Make some interaction system to toggle visibility of the widget.