Rheostat varies what 1. Current 2. Resistance 3 . voltage

it varies the resistance.

of course if the voltage is a constant, the current also changes