Incomplete error message for CFrame rotation

image

How to perform:
Use a Vector3 in Rotation for a CFrame

workspace.CurrentCamera.CFrame.Rotation = Vector3.new(0, 90, 0)

System Information Windows 11:

Beta Feature:
New lua type solver

Expected behavior

The error should be 'Rotation cannot be assigned to CFrame"

1 Like

Rotation cannot be assigned to essentially means Rotation is read-only, so I don’t see how this is a bug. It may make more sense to make a feature request that asks to clarify the error more.

Normally, it shows its read only just by the following.
image

This is true, but the error you mentioned initially is for datatypes, not for Instance properties! I agree that there is a lack of consistency here, and it should be fixed.

Not a bug, this is the standard for atomic data types: image

If you have a suggestion for what info you’d like to see in various error messages you could make a feature request.

1 Like

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