Press the left and right arrow keys to change the variable. It will automatically update to whatever the variable is.
This does not work well for quickly updating variables, since it has to wait before it can completely update. If you remix or take code from it, make sure to remove the way I updated the variable and please give me credit if you decide to share the project.