How to access a function in another BP

Hi
Recently, I’ve been having problems understanding what to connect object nodes to when casting to something in another bluprint. In this case, I am trying to access a function in another bluprint (BP_buildingseedShop) when I click on a button in a widget file (W_seedshop).

I imagine that I would need to create some sort of reference in the graph in my W_seedshop bluprint, but not sure what type or how.

Any help would be appreciated

You need to get the spawned actor BP_buildingseedShop.

When you spawn it using SpawnActorFromClass, store the output then send it to W_seedShop when you CreateWidget it.

Is there a tutorial you can point me to on how to do that? I think I might need pictures to understand what you just said :frowning: