I don't know what to really call it, but here it goes.
When I create a shape with one of the shape tools, it masks it or whatever you call it when a path. And where ever I move the shape, the path goes. But when I just make a path and fill that path, the path isn't attached. So how do I "attach" the path to the layer, so when I want to resize the shape, it wont lose quality.