If you want to separate Shapes, you must change the X and the Y values and leave the width and the height the same.
var x is a local variable
When you place a variable, for example "x", into a single function, only that function will be able to use it. If you place the variable in the beginning of the code, all functions will be able to use it.
If and While Loops
The difference between these two loops are that the if statement will execute the code one time while the while loop executes the loop until it is no longer able to.
Comments