A resistor is characterized by an always constant resistive value. With the same applied voltage, it will always pass the same amount of current. The potentiometer, on the other hand, is an electronic ...
One of the good things about simulating circuits is that you can easily change component values trivially. In the real world, you might use a potentiometer or a pot to provide an adjustable value.