How to perfectly center an ImageLabel in SurfaceGui?

Hi guys, how do I make an ImageLabel perfectly centered inside a SurfaceGui?

Right now, I just manually positioned it to look centered, but it still bothers me a bit since it’s not perfectly aligned. I want it to be exact, similar to how TextLabel can be easily centered using its X and Y alignment properties.

Since ImageLabel doesn’t seem to have the same built-in centering options, what’s the proper way to do this? Is there a specific property or method I should use?

Thxxx!

position of the Icon {0.35, 0},{1, 0} and anchor point 1, 1

3 Likes

Like this however ImageLabel dont have it :sob: so im tryna make a way if there’s more effiecient or proper way to center it hehe, thx!
image

Correct me if I’m understanding wrong, but couldn’t you set the properties “AnchorPoint” to (0.5, 0.5) and “Position” to (0.5, 0, 0.5, 0)?

2 Likes

Oohh let me try it out, i havent really understand how anchor point works :sob: