Use the scale property to resize objects along each axis independently. Learn that scale values are multipliers on the geometry's original dimensions, and use MeshNormalMaterial to better visualize face changes while experimenting.
[00:00] What if we want to modify the dimensions of our cube? For that we can use the property Scale. But to be able to visualize it better, I'm going to just quickly change this material to one material that is easy to see on the render, which is a mesh normal material. This one allows us to quickly visualize with different colors the different faces of our cube. So now that we have that out of the blue, let's use cube and Let's see what actually what type of property is the scale.
[00:40] So let's use console log Cube now, Let's go to developer tools and see what is here. So we are, yeah, console unload the cube, but let's use the scale. So yeah, you guessed it right, it's also a vector. But this vector is kind of different because we're gonna tell how much we are going to multiply the dimensions of our cube. So, similar way as we did before, we can go here and set X and we want to be the double size on the X.
[01:20] If we do this, it increase the value on X. Let's say that we want to make it half the height that has right now so we go cube scale y 0.5 and now it's narrow maybe we want to do something like a plane so we can go to the cube scale, and the zeta, and we can do something like 10. And then in the x-axis as well as 10, and we have something like a floor. We can similarly use the set method to do it easily. So we can say something like, I don't know, 0.5, 2 and 3.
[02:14] And then we have a rectangle like this.