Editing StudsOffset of a BillboardGUI

I’ve never really used BillboardGUIs so I’m hoping someone could help;

Localscript:
billboard.StudsOffset.Y = billboard.StudsOffset.Y + 2.5

I’m just getting " Y cannot be assigned to " in the output. Is there something I’m missing? Tried good ol’ google and found nothing helpful.

Thanks
bray

p.s; I realised it reads a bit stupid out loud, what I meant was, is there a method of changing the StudsOffSet or is it 100% unchangeable by a script?

3 Likes

StudsOffset is a Vector3 value, so you’d want to set it with code like this

billboard.StudsOffset = billboard.StudsOffset + Vector3.new(0, 2.5, 0)

4 Likes

that i should have figured out… oops… thanks very much!!!