Offset an Image in a Gui?

Is there a way to offset an image slightly in an image label? I’ve tried using RectOffset and RectSize but I’m not too sure how to use them?

Here’s an image to explain what my problem is. (Sorry if the image couldn’t load)
deleteexample

I want to try and just use the same image because I want it centred when you’re in first person, but move it to better communitate where the cursor is when you’re in third person. So if there was a way I could do something like this without making two decals that would be greatly appreciated!

2 Likes

Try to mess with AnchorPoint property.
To offset to the right, add a number to the value. To offset to left, subtract a number from the value. The same goes for up and down.

You can also change the cursor image instead.
Create a local script in StarterPlayerScripts :

game:GetService(“Players”).LocalPlayer:GetMouse().Icon = “rbxassetid://id” – put your image asset id here

Hope this helps!

2 Likes

If above doesn’t work just put the image label inside a container frame

Couldn’t you just move the entire image label?

Oh thanks! I didn’t know you could do that.

I legitimately didn’t even think of that at first, I really don’t know why.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.