Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Getting and changing Properties by Script (?)

Asked by 3 years ago

Hi there. I've tried getting the "Origin Position" Property in a model by doing this:

Model["Origin Position"]

But it returns an error that the instance Origin Position is not found. I understand that "Origin Position" Isn't an actual child inside of the model, but it is a property I need to change. Is there any way to get through this?

Know that Model. Origin Position will not work, because there is a space between Origin and Position. Therefore I replaced it with Model["Origin Position"] Which should do the same thing.

1 answer

Log in to vote
0
Answered by
BiIinear 104
3 years ago

"Origin Position" can't be accessed by script.

https://developer.roblox.com/en-us/api-reference/property/PVInstance/Origin-Position

Ad

Answer this question