So I'm wanting to be able to change every property in a brick using a script, and I don't know what to use for some of the properties. So far I know reflectance, material, transparency, and color. I just started scripting yesterday so I haven't really found out other ways to change something besides game.Workspace.A3.Material or game.Workspace.Part.BrickColor = BrickColor.new("Really red")
Does anyone know how to change the other properties such as position, rotation, size, and cancollide? Thanks! -Saiier
Solution
There is a tab called Properties under every instance/class I think, if you can't find it then look up the class and there will be a list of properties. The only problem is that each property has a different dataset most of the time such as boolean/brickcolor and so on. So be wary of the property type when changing it. An example
part.Position = Vector3.new(1,1,1) -- Position is the property and Vector3 is the property data type.
position, rotation and size all use something called "Vector3.new"