Unable to assign property CornerRadius. UDim expected, got UDim2

I don’t even know what to say

corner.CornerRadius = UDim2.fromScale(0.5, 0.5);

You need to make a UDim, not a UDim2.

corner.CornerRadius = UDim.new(0.5, 0)
2 Likes

ohh, I didn’t even know there was a difference lol. tysm

1 Like

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