How to get the position in viewport of a widget item

Hello again! I’m sorry I didn’t reply sooner, I’ve been busy.

After trying your method and not getting it to work I found the issue: getting the padding and offset will always give me 0 since they’re all set to 0 in the widget. I’m alinging all those items to right and middle inside their parent. This is what the inventory looks like:

I’m using an overlay as a parent for everything else, with a size box with 0 padding, of 1200 width and 700 height, centered vertically and horizontally. Then inside that I have another size box for the inventory, for which I’m using a wrap box, to which the slots get added as children when the inventory is opened, centered vertically and horizontally again.

Is there another to get their position relative to the screen? There has to be something similar to the “Get mouse position on viewport” node…