I'm trying to tween my arm. I want to scale it by its y-axis, but this is inside of a table, so I can't set the variable as Size.Y.
local arm = {character.RightHand, character.RightLowerArm, character.RightUpperArm}
local scalefactor = 3
for i,v in pairs(arm) do
local pos = v.Position
local offset = pos - dialationCentre
offset = offset * scalefactor
local Goals =
{
Position = dialationCentre + offset;
Size.Y = v.Size.Y * scalefactor
}
local gomuTween = Tween:Create(v, info, Goals)
gomuTween:Play()
end
I'm doing some dialation thing, so that way the arm scales correctly. The scalefactor is how much the part of the arm will scale in the y axis, but it will scale in all axis if I have it to only Size = Size.v * scalefactor. How can I make it where it only scales in the y axis, but still have the variable as "Size"?

2 comments
Do I just change the scalefactor to that?
Didn't work rip