How do i cast from UMG to my character?

Im trying to set variables for the save slot but the boolean variables are in the umg widget due to them being used there for setting which save slot to use at which time, help would be appreciated thank you in advanced.

Hi!

In Macros section, Cast To need a referense node linked to Object slot.