API:Vector3

A Vector3 is a userdata that holds a coordinate in 3D space, described by three numbers. These numbers represent the X, Y, and Z coordinates.
They can be used to hold positions (Position), sizes (Size), speeds (Velocity), and more!

Using Vector3s

Moving things around

You should see that the brick moved up a good distance, you may need to move the camera to see it. What you just did is changed where the brick is, by changing it's Position. You set Part.Position to a new location by using the Vector3.new constructor. You constructed a new Vector3 using 3 different values. This told the Lua engine to set the brick's Position to 0, 50, 0, making the brick move to that position.

Moving things around with the Position property comes with built-in collision detection. Let's say you have a huge brick, and you try to move another brick inside of it. Instead of appearing inside of the solid brick, the second brick will pop up on top of the large one, right above where it's trying to get to. If you don't want this to happen, you can move objects around with the CFrame property instead.