VARIABLES We need to talk about the scope of variables. The scope of variables is where a variable can be used. Let’s say you have something like ‘Health’ or something specifically related to an object. It’s best to use an ‘Instance variable’. But if you have a global variable assuming a day and night cycle, or something like that, you can ‘Add global variable’ Let’s right-click ‘Add global variable’ before we have billions of numbers…
Tag