Controlling Current in a Ciruit
The appropriate device is called a potentiometer or rheostat - both are variable resistors.

A potentiometer is normally used as a three-terminal device, to form a voltage divider.

Rheostats are normally two-terminal devices and often have lower resistance and are capable of handling higher power than potentiometers (but pots are often used as rheostats).