SOLVED GUI isn't drawed correctly

Hi, i have my room at size of 1280 x 720. I setup some objects at the bottom left of the view.
They're drawn all via drawGUI event.
However when i run this app on my android phone, which has resolution of 854x480, all of those objects are displayed off screen.
How can i make sure they always stay in their correct position regardless of the screen resolution?
Thank you/


Make a variable to hold the GUI width and height display_get_gui_width(), display_get_gui_height(). Then, when creating GUI elements anchored to the bottom edge, draw it at a position based on the height.
I ran this code but it doesn't seem to work
display_set_gui_size(window_get_width(), window_get_height());