How to Cast from Actor BP to Widget BP - Object pin error

The widget menu im trying to use tgeh cast function in is called from the swap manager at a certain point using the create widget function.

To clarify:

  • the swap manager sits in the scene
  • the swap manager creates the widget with the Create Widget node and Adds it to the Viewport

The idea is to click a button in the widget and do something with the data the manager has access to.

Could you confirm?