Setting a variable to store a blueprint as a target that isnt in the level.

I have an interface set up and want to call a custom interface function inside a blueprint class that inherits from Ambient Sound. The interface message I want to send is inside the graph of a Widget Blueprint (inhereted from umg.userwidget).

Neither of these are placed in the level. How would I set a variable in the UMG widget that targets the Ambient Sound blueprint to use as a target for the interface message?

Is this possible or does one of the blueprints being using the interface have to be placeable in the level?

Theres a “cast as class” function iirc. Im not sure if itll work as intended though