Login

Fancade Wiki

Updated Inspect.md (markdown)

... ...
@@ -1,4 +1,4 @@
1
Displays the value given to the input, allowing you to inspect values.
1
Displays the value given to the input, allowing you to see the value in a variable.
2 2
3 3
![Inspect_1](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-20-44-138~2.jpeg)
4 4
... ...
@@ -7,15 +7,21 @@ This block is essential for debugging your games because by using it you can mak
7 7
8 8
![Inspect_2](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-14-11-550.jpeg)
9 9
10
This display it's only visible when the block it's on the ground, so it's impossible to see the value when you are using it inside a script block.
11
12
And that's when: **Advanced mode**, comes in.
13
10 14
## Advanced mode
11
Often you [[set camera]] or need to inspect local variables inside a block and it becomes impossible to know the value when it's displayed on the Inspect block top side. For such cases, you can switch to an "Advanced" mode by selecting any Inspect block and clicking on "Advanced" option in the hotbar.
15
![Advanced inspect on play](/uploads/Screenshot_4.png)
16
17
In the image above you can see a small blue square at the bottom right, this is what advanced mode does.
18
19
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.
12 20
13 21
![Inspect_3](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-15-51-812.jpeg)
14 22
15 23
While playing, if the mode is activated, all inspected values will be displayed on the right side of your screen. If you tap on one of them, it will be printed to a "console log" on the left side. It's helpful if you want to keep track of how values change over time.
16 24
17
![Inspect_4](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-19-23-419.jpeg)
18
19 25
The first three lines of the log will always be occupied by percentages of object, script, and block limits consumed.
20 26
21 27
Note that activating or deactivating this option will be shared to all inspect block existing in the game.
Fancade Wiki