How might I change a VertexColor of a Mesh in Lua? My variable is named mesh. I tried this: mesh.VertexColor = (0,0,1)
But it didn't work.
Like M39a9am3R said, VertexColor is a Vector3 value, and must be assigned like so:
mesh.VertextColor = Vector3.new(0, 0, 1)
Note that Color3s and Vector3s are fundamentally the exact same thing, they just have slightly different methods and applications. Meshes predate Color3, which is why they use Vector3 instead.