Changing variable in UI and get it in character blueprint

Hi, I’m trying change a variable in my UI and then get it in my character class (like say you wan’t to change you skeletal mesh by pressing a button you made in the ui and then it should change your character’s skeletal mesh), I have tryed many ways but non worked, so how would i do that?

In your UI, get player character and cast to your character. Then pull off the node the variable you want to set.