Passing Item location into Main Menu Blueprint

I have created a simple AR game to spawn an Asset based on the players view location. item_location is the object i use to determine where i want the asset to appear in the game. I created this by following a video tutorial.

I then use this location in the event graph as follows:

This all works fine. But after adding a main menu and trying to call this procedure from the “start button” click, the item_location i am using gives me an error:

I presume this is because “item_location” is unknown within this blueprint. I am wondering how i can pass this information between blueprints?

Thanks :smiling_face:

Looks like you just copy/pasted that variable into your widget. You can’t do that. Those blueprints are different and as such it is like speaking a foreign language to your widget. You need to make the “translation” so to speak. You can do this by getting a reference to the BP_ARPawn actor in your level within the widget. So if that is your player character I would go into my widget, off event construct “cast to BP_ARPawn”, then off the input object pin drag off and say “get player character”, now you have a reference to the player character. From that output cast pin, drag off and say “get item location”. That will pull in the actual reference of “item location” from your player character. You can then connect the other pin of “item location” to the transform.

Thanks for the help. I feel like we are almost there. But it seems to be giving me an error.

See attached screenshot: