We need more context here.
there is a CombatPause widget which has a Uniform Grid, it is filled through an array, widgets of the CardWidget type, when creating a CardWidget, data is entered into it: HUDref - a link to the CombatPause widget, so that CardWidget receives data from CombatPause. For some reason, neither HUDref, nor X or Y receive the values they should, although the instance is editable, expose on spawn, I have all this enabled for variables. Why was all this needed at all? I needed to implement movement through the inventory using the arrow keys on the keyboard.