using same widget ?

Hi guys !

I’m sure it’s a stupid question, but I don’t know how to do this !

I have my Spell Bar on my main screen,
I have the same Spell Bar inside my Skill Tree

But these two aren’t connected, so if i add a spell inside my Skill Tree, the spell don’t appear on my main screen, do you know how to connect both of them ?

Thanks guys !

You might want to store the data in one common location that both Spell Bars reference to get the information. Either on a new class you create, or on the Character, the Controller, etc.
For example you can keep an Array of Spells on your Controller class (or Character, or SpellHolderClass or whatever) and in your Spell Bar widget Blueprint (I’m assuming you’re using a widget Blueprint) you access that class (wherever you’re storing the spell data) and checking to see which icon you should draw to the screen.

Thanks a lot ! I’ll try this right now !