When you make a variable, you can choose for it to be available to all sprites (global) or to just the selected sprite (local).