Positioning relative to another CustomGui element
Posted: Wed Feb 05, 2020 5:26 pm
This has been churning in my head for a while... The base game has several GUIs that appear relative to other elements (for example, choose-elem-buttons). It would be awesome if we could do this as well. Obviously the game has some way of knowing where an element is on-screen, so could this be extended to CustomGui as well?
I'm not sure how the implementation would be done. The return value would be a location that you would use on a frame in player.gui.screen, but I'm not sure how you would get the location. Or if it can even be done within gamestate.
Is this possible?
I'm not sure how the implementation would be done. The return value would be a location that you would use on a frame in player.gui.screen, but I'm not sure how you would get the location. Or if it can even be done within gamestate.
Is this possible?