How do you keep a variable from changing too quickly

Here’s some goodies too: lerping to smooth things out:

In the case of input smoothing (implementing your own input filtering):