Replaced background color for consistency
commited
commit
d49446cd49b221e5f07218dec7e4810009aa2c9a
... | ... | @@ -19,7 +19,7 @@ Outputs |
19 | 19 | |
20 | 20 | If you were to start the loop at 0 and stop it at 5, you would loop the script 5 times (Count) and the Counter outputs from 0 to 4 (End). Which shows that the Counter won't output the Stop value by the end of the loop, might want to keep that in mind. |
21 | 21 | |
22 | [[/uploads/Screenshot_20210128-114243_Fancade.jpg]] |
|
22 | [[/uploads/loop_example1.png]] |
|
23 | 23 | |
24 | 24 | ## Example |
25 | 25 | |
... | ... | @@ -29,6 +29,6 @@ We could put those blocks in a list and loop the script for every block, so that |
29 | 29 | |
30 | 30 | In the example below, we're moving the blocks by (0, 0, 0.1) every frame. |
31 | 31 | |
32 | [[/uploads/Screenshot_20210128-171605_Fancade.jpg]] |
|
32 | [[/uploads/loop_example2.png]] |
|
33 | 33 | |
34 | 34 | It's mentioned previously that the Counter won't output the Stop value by the end of the loop. It won't be a problem because after we add the last block to a list, it increments the $Length variable by one. So, if the last block is assigned to index 4, $Length would equal to 5 which is exactly what the Stop input should be to account for every blocks. |
... | ... | \ No newline at end of file |