Hello there ,
What do you want to achieve? Make the white line centered with the dark UI when i change the size of the screen.
What is the issue?
Here is what i did if it helps (Check the “solution” in the link below): i did the “NO PARENT” technique“ on “The black ui” with the texts: “Coin” and “Number”
Hello there,
What do you want to achieve? I want the black Ui not to get past the red line
So, the objective is to prevent the black Ui from going to the other side.
What is the issue? I don’t know how
What solutions have you thought of so far? looking in it’s properties
Note:
i want the size and the position of the “black Ui” to be set as “Scale”
i want the size and the position of the “red Ui” to be set as “Offset”
I also want to avoid doing it through a scri…
result when the screen is over sized:
The white line glides to the right side while over sizing the screen
result when the screen is the desired size:
The white line is centered
Result when the screen is shrinked:
the white line glides to the left side while shrinking the screen.
Note :
here, the white line is a child of the black ui.
(it can also be unparented from the black UI, it’s the same result at the end )
i prefer unparented(But whatever works)
Thank you for your help
GameTapped
(GTGaming)
November 16, 2024, 7:34pm
#2
You should be able to get it to stay in the center if you set the
AnchorPoint at 0.5, 0.5
Position at {0.5, 0},{0.5, 0}
It’s relative to it’s Parent, so if you want it in the middle of a frame it should be placed as a child of that frame.
2 Likes
sorry for the late reply, i was extremely busy.
But unfortunately your suggestion didn’t work.
i am going to try to change the size.
YTKACKA1
(Jebrik)
November 30, 2024, 7:04pm
#4
send me your gui file, I’ll fix it