A vector quantity is a quantity that has both magnitude and direction. Examples of vector quantities include velocity, acceleration, and force. A scalar quantity is a quantity that has only magnitude. Examples of scalar quantities include mass, temperature, and volume.
Distance is a measure of how far apart two objects are. It does not have a direction, so it is a scalar quantity.