Im about 4 hours into Core scripting
I want to be able to transform the scale of an object based on in-game variables. I've looked at the light switch tutorial but am struggling... The light switch tutorial uses RotateTo which isnt in the rotation docs
Seems like it should be something like this:
local gameObject = script.parent print(gameObject) local gameObjectScale = gameObject.getScale() print(gameObjectScale) gameObject.setScale(newValue)
Would anyone mind giving me a rough code example?