-
What do you want to achieve? I am trying to make a crosshair that will go on the cursor
-
What is the issue? The frame has some type of center, the white box on the top left and that is where the frame goes instead of the middle.
-
What solutions have you tried so far? Tried looking on developer hub
White box or “Center” of the frame seen here
Try setting the anchor point of the frame to (0.5, 0.5)
to set that box to the middle
https://developer.roblox.com/en-us/api-reference/property/GuiObject/AnchorPoint
@Yarb0b To be honest I was also contemplating if that was the actual solution or not so we both had some issue sending a solution haha
1 Like
Yarb0b
(Yarb0b)
#3
Make sure that the “frame” anchor point is: 0.5, 0.5
1 Like
Yarb0b
(Yarb0b)
#4
was typing that at the moment, but you was faster, heh
1 Like
That worked, thank you for that
1 Like
Thank you for replying also
30char
1 Like
Yarb0b
(Yarb0b)
#7
Yes!, you are right i was like: uhhh what did i even write, oh wait that is the solution right!
i woke up in 5:34 xd
1 Like
Qinrir
(Quin)
#8
ur anchor point is wrong set it to 0.5,0.5