PivotOffset is given wrong tag/confusing

It states that PivotOffset is a read-only, meanwhile it proceeds to give a code example of how to write to it? This also seems do-able in game, but can only be done on BaseParts, not models?

Page URL: https://create.roblox.com/docs/reference/engine/classes/BasePart#PivotOffset

Hi @NinjoOnline!

Thanks for reaching out.

Are you referring to the “ReadParallel” tag on the BasePart.PivotOffset documentation? While ReadParallel does mention that “Attempting to write to it causes an error” this is only the case when calling in parallel. There are no other tags here indicating protections on writing in normal circumstances.

Regarding your issue with Models, Models are not inherited from BaseParts so shouldn’t have the PivotOffset property available. If you are attempting to pivot a Model (and all child BaseParts), I believe the correct method would be to use PVInstance.PivotTo().

Let me know if that helps! Thanks :slight_smile: