Can I edit variables in the character BP from a widget BP?

Hello, Im making a game and have made a shop widget blueprint, and i have a variable in the character BP that i want to be edited when i press one of the buttons. Does this work, and if so, plz tell me! i have really been struggling with this:)

Sure can. :slight_smile: get player character, cast to that blueprint, and then you can pull it’s variables and use them how you wish.

ok, i’ll try this.

wou;ld i use your standard Cast to node?

I tried this setup and it did not work:

You forgot the get play character node.
Plug that into the other input in the cast to node.
U should drag a wire from that node I speak of and cast to from that.

ok, thanks! this worked, and I’m quit glad;)