Page 1 of 1

Get number of visible quickbars

Posted: Thu Jan 14, 2021 9:50 am
by PFQNiet
This might be a bit of an XY-problem so here's what I'm "actually" trying to do:

I want to place a GUI element just above the player's hotbars. Basically, as far down as possible without overlapping them.

My idea is to get the number of quickbars, multiply by the height of a quickbar, and use that as a vertical offset. But if there's a better way, by all means let me know!

EDIT: Just noticed I posted this in the main modding forum instead of Modding Help, oops!

Re: Get number of visible quickbars

Posted: Wed Jan 20, 2021 8:27 am
by ickputzdirwech
@Moderators you mind moving this to modding interface requests? I don’t want to admit how much it bugs me that this topic ended up in the middle of nowhere. :D