I have this function inside a module script that tweens the position of a frame when it’s called and it has 2 parameters, the frame and the position I want it to tween to however when i send the udim2 value the frame doesnt move in the correct spot and moves to the side a bit which is not what i want it should be moving to the location i gave it. This is what the output gives me:
Calling function:
FunctionModule.TweenPowerhandle(PowerHandle, UDim2.fromScale(0.156,0.467))
Function:
TweenPowerhandle = function(PowerHandle, position)
print(position)
PowerHandle:TweenPosition(position, Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.1, false)
end,