How do you make an outline of an object stay in the same location if the object were to move?

Thanks! I’ll try out your advice when I can.