A resistor establishes electrical resistance between its two pins.
The resistor has two bi-directional pins.
The electrical resistance in Ohm.
If checked, the resistor turns into a potentiometer. You can then click on the resistor during simulation to bring up a knob that allows you to change the resistance.