Missing .Size on a UI element gives the wrong error

So basically I was just scripting my UI and forgot to add the .Size to my frame when I was changing the size of it. But it took me a bit to realise this because I was getting the wrong error for it.

It was saying the frame I was trying to change is not a valid member of it’s parent when it is.

– The code which caused the error
image

– The error
image

– fixed code
image

Yeah this issue is very annoying because it completely diverges my focus when looking for the cause of the error and confuses me.

Hi, this error message can be improved, but everything here is working as expected. The error here is referring to the fact that on “Frame”, there is no such thing as “Progress”, unlike how “Size” is. “Child” and “member” are different.

It’s not clear what the intent of the faulty code is just by looking at it. The error it gave seems appropriate to me and should be sufficient enough to diagnosing the issue.

I think this becomes more familiar with experience in the environment and am not sure if there is any better messaging that could be given.

“Member” does seem vague. Maybe could be improved to recognize that the user is trying to set a “property” when using the equals operator.