custom gui in tips and tricks simulation
Posted: Thu Jul 09, 2026 12:35 pm
I am trying to make tips and tricks pages for my mod, and want to show demonstrations of using the new gui elements I've added. however, I can't seem to get game.simulation.get_widget_position to locate my new elements, and retreiving it directly from the player.gui doesn't seem to be able to either simulate a click on it or find the screen location to simulate the mouse movement for.
Am I missing how to actually retreive the gui elements with get_widget_position for modded guis? I've seen stuff suggesting this only works for the vanilla gui. Or is there another approach to demoing mod guis that people have used?
Am I missing how to actually retreive the gui elements with get_widget_position for modded guis? I've seen stuff suggesting this only works for the vanilla gui. Or is there another approach to demoing mod guis that people have used?