I’m trying to get a reference to my other widget W_CardPlayArea but it doesn’t work.


Both are placed inside another widget which is the HUD, although most of the code that handles this card system is in the CardHand Widget.
@posadg Could you clarify where is your play area and where you want to access it?
I usually use widgets only to fire events (buttons) or to display things.
All logic etc is done in Game HUD blueprint.
So every button triggers event in hud. Also hud keeps all variables, widgets read them by referencing hud, not other widgets. This way if i move widget in stack references will always be same (to the hud).
The play area is the blue widget placed inside the HUD widget, Im trying to access it inside the card hand widget.