# Making a Conveyor Belt

5 min

Conveyor belts are objects that move other objects on top of them. While real-life conveyor belts are made of many parts, a conveyor in Roblox can be made with just one part.

## Creating the Conveyor Belt

To make a conveyor:

1. Insert a new `Part`.
2. Use the Scale tool to make the part the size you want for your conveyor.

1. Select the part and click on the Anchor button. The conveyor will not work if the part is not anchored!

## Setting the Velocity

To make parts move across the top of the conveyor, we’ll change its Velocity property. For unanchored parts, setting the velocity will make the part move. For anchored parts, setting the velocity will make anything that touches the part move instead.

Before we set the velocity though, we need to know which direction we want parts on the conveyor to move. Roblox uses an X, Y, Z coordinate system for positions and velocities of parts in a game. To help visualize this, click on the View tab and click the Display Axis button.

You’ll now notice 3 arrows in the lower-left section of the game window. These arrows represent the 3 different axes in the game: red represents X, green represents Y, and blue represents Z.

Move your part near the arrows so we can figure out what direction we need to set the velocity.

Notice how this part is aligned along the blue arrow which corresponds to the Z axis. The arrow points towards positive Z values, so if we wanted to make a part on the conveyor move along the arrow, we would need to apply a positive Z velocity. If instead we wanted a part to move opposite of the arrow, we would need to apply a negative Z velocity.

For this tutorial, we will use a positive Z velocity. To do this, click on the View tab and then click on the Properties button to open the Properties window. Select the part and find the Velocity property. Click the arrow next to Velocity so we can change the values one at a time, and set the Z value to 20.

Now if we press Play and step on the part, the character will be moved along the conveyor!

Tags:
• gameplay
• tycoon
• building
• math