Transmitting variables to my Character Sheet

It depends a lot on your setup, but I can give you a very high level example of what you’re suggesting and hopefully that’ll get you on the correct path:

Presuming you’ve already got the UMG object (Let’s call it MyPanel) spawned somewhere (i.e. MyPanel is always present on the screen but only shows the currently selected actor’s details when an actor is selected), when you select the actor, you could call a function on the MyPanel (let’s call it “UpdateDetails”) that takes in your struct as an input parameter.

You’ll need to be able to access to MyPanel from somewhere (so you either need to have access to the actor that spawned it or use ‘GetAllWidgetsOfClass’ to find all of the spawned versions of it) and then call the ‘UpdateDetails’ function from the actor that was just selected.

Inside ‘UpdateDetails’ you’ll simply be able to break the struct and pass the individual pieces of information to the relevant UI elements.

Hope that helps.