The weight of an object will change if the object is brought farther away from Earth, or placed on a different planet, since the force of gravity on the object will change. However the mass of the object will remain the same regardless of whether the object is on Earth, in outer space, or on the Moon.