> Continue your Babylon.js learning by placing and positioning meshes in your scene.

Source: https://doc.babylonjs.com/features/introductionToFeatures/chap2/placement

# Getting Started - Mesh Placement

## Place and Scale a Mesh

### Size
Some meshes, such as a box, have properties that you can set during creation to change their size.

```javascript
const box = BABYLON.MeshBuilder.CreateBox("box", {width: 2, height: 1.5, depth: 3})
```

After creation, and for meshes that do not have sizing options, changes in size are achieved by scaling the mesh.

```javascript
const box = BABYLON.MeshBuilder.CreateBox("box", {}); //unit cube
box.scaling.x = 2;
box.scaling.y = 1.5;
box.scaling.z = 3;
```

```javascript
const box = BABYLON.MeshBuilder.CreateBox("box", {}); //unit cube
box.scaling = new BABYLON.Vector3(2, 1.5, 3);
```

As you can see from the code above, scaling is a vector object with properties x, y, and z.

All three code examples above produce boxes of the same size.

## Position
For the majority of meshes, the [position](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/center_origin/position) property places the center of the mesh at that position. Position is also a vector object with properties x, y, and z, so the following two code examples position the box in the same place.

```javascript
box.position.x = -2;
box.position.y = 4.2;
box.position.z = 0.1;
```

```javascript
box.position = new BABYLON.Vector3(-2, 4.2, 0.1);
```

We can now use positions to place boxes sized in three different ways in one playground. In each case, the height of a box is 1.5, so for each box, position.y = 0.75 places it on the ground.

- [Playground: Positioning Meshes](https://playground.babylonjs.com/#KBS9I5#68) - A playground demonstrating different ways to position a mesh in your scene.

### Orientation
Like scaling and position, the [rotation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/center_origin/rotation) property of a mesh is a vector object with properties x, y, and z. However, when building our first world, we will consider rotation about only one axis, since setting rotation about all three axes can be surprisingly confusing.

Rotations are given in radians. If you prefer working in degrees, Babylon.js provides a conversion tool. Both of these lines of code produce the same rotation.

```javascript
box.rotation.y = Math.PI / 4;
box.rotation.y = BABYLON.Tools.ToRadians(45);
```

- [Playground: Rotating Meshes](https://playground.babylonjs.com/#KBS9I5#69) - A playground demonstrating how to rotate a mesh in your scene.

We can now change the size, position, and orientation of a mesh, adding a little more variation to the box as a building. Before we place more boxes in the scene, let us see if we can make them look a little more like buildings.

## Further reading

- [More on Placement](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/center_origin/position)
