 So, you know how to use variables, but you don't really understand them. Not a problem. Okay, for this example, let's say you're doing a 2D game where your character can only move left and right. And here you can see the entire code to make it happen. So this is it. This is all the code for our game. Nothing exists outside of this code. We have our basic translate movement code, and since you can only move left and right, we've kept the y and z values at zero, so you can't move up and down or forward and back. The value that controls left and right, we have replaced it with a variable called x. If you press the A key, x equals negative point zero five, and if you press the D key, x will equal positive point zero five. And if neither of those is pressed, then x will equal zero. And if we play the game, that's exactly what you'll see. Every time I press A, you will see the cube move left at a speed of negative point zero five. And every time I press D, you will see the cube move right at a speed of positive point zero five. And if I don't press A or D, the cube's left and right speed becomes zero. So for those of you who are still having trouble understanding variables, transform.translate requires three numbers to work. But since we only wanted to control left and right movement, we only needed to create one variable. Now we could have named this variable anything we wanted. The name doesn't really matter. What matters is that the variable matches the type of value that it's replacing. Now these three values are numbers. And anytime you want to create a variable to control a number, you have to decide if that number can be a decimal. If it can have a decimal, the type should be set to float. If you don't think your number needs decimals, I would set the type to int instead. You might remember in our first code, when we were making a timer, our timer value was set to an int. And that is why you didn't see any decimal values. Now transform.translate does allow you to type in decimals. So that is why we set the variable type to float. And public just means that you can see the variable in the inspector and access it from other scripts. If you were to change this to private, it would disappear when you look at the code from the outside and you won't be able to access it without coding. And that's really it. You'll see us use more variables in the future, but they all follow the same rules. Just make sure that the type is the same as the value they control. Hope that helps. If you learned something from this video and you'd like to support, consider joining the squad. Just press the join button and you'll be able to see what we've been up to in between each video. Otherwise, as always, hope you have a fantastic day and I'll see you around.