Login

Fancade Wiki

Updated Inspect.md (markdown)

... ...
@@ -1,11 +1,11 @@
1 1
Displays the value given to the input, allowing you to see the value in a variable.
2 2
3
![Inspect_1](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-20-44-138~2.jpeg)
3
![Inspect](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-20-44-138~2.jpeg)
4 4
5 5
## Importance
6 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.
7 7
8
![Inspect_2](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-14-11-550.jpeg)
8
![basic inspect usage](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-14-11-550.jpeg)
9 9
10 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 11
... ...
@@ -13,15 +13,18 @@ And that's when: **Advanced mode**, comes in.
13 13
14 14
## Advanced mode
15 15
16
![Advanced inspect on play](/Screenshot_2022-09-29-19-19-23-419.jpeg)
16
![advanced inspect example](https://www.fancade.com/wiki/uploads/Screenshot_4.png)
17 17
18 18
In the image above you can see a small blue square at the bottom right, this is what advanced mode does.
19 19
20 20
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 21
22
![Inspect_3](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-15-51-812.jpeg)
22
![how to enable advanced](https://www.fancade.com/wiki/uploads/Screenshot_5.png)
23 23
24 24
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.
25
To stop printing the values simply tap that same button again.
26
27
![inspect log](https://www.fancade.com/wiki/uploads/Screenshot_6.png)
25 28
26 29
The first three lines of the log will always be occupied by percentages of object, script, and block limits consumed.
27 30
Fancade Wiki