Updated Inspect.md (markdown)
commited
commit
9758fc33f8cfb4a5fdeb1061ce134da7286e6544
... | ... | @@ -3,7 +3,9 @@ Displays the value given to the input, allowing you to see the value in a variab |
3 | 3 | ![Inspect](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-20-44-138~2.jpeg) |
4 | 4 | |
5 | 5 | ## Importance |
6 | This block is essential for debugging your games because by using it you can make sure that you don't get unexpected values that break your game. If you connect its only input to a variable or value block, the data will be printed on its top. |
|
6 | This block is essential for debugging your games, as it allows you to know what value your variables have at all times. So you can see if a position is correct, or if a loop it's reaching the desired number. |
|
7 | ||
8 | If you connect its only input to a variable or value block, the data will be printed on its top. |
|
7 | 9 | |
8 | 10 | ![basic inspect usage](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-14-11-550.jpeg) |
9 | 11 | |
... | ... | @@ -15,7 +17,7 @@ And that's when: **Advanced mode**, comes in. |
15 | 17 | |
16 | 18 | ![advanced inspect example](https://www.fancade.com/wiki/uploads/Screenshot_4.png) |
17 | 19 | |
18 | In the image above you can see a small blue square at the bottom right, this is what advanced mode does. |
|
20 | In the image above you can see a small blue square at the bottom right, this is what advanced mode does. With this you can still see the value of your variables regarless of where the block is or where your camera is pointing.
|
|
19 | 21 | |
20 | 22 | To use it all you need to do is select any inspect block in the game, once selected you will see a new button appear on the bottom right of the hotbar which says "_Advanced_", click this button and a checkmark will appear, this means advanced mode it's now enabled. |
21 | 23 | |
... | ... | @@ -28,4 +30,4 @@ To stop printing the values simply tap that same button again. |
28 | 30 | |
29 | 31 | The first three lines of the log will always be occupied by percentages of object, script, and block limits consumed. |
30 | 32 | |
31 | Note that activating or deactivating this option will be shared to all inspect block existing in the game. |
|
33 | Note that activating or deactivating this option will be shared to all inspect block existing in the game. |
|
... | ... | \ No newline at end of file |