Updated Inspect.md (markdown)
commited
commit
c6f03bcfc01b2342895ffd48e24413c9ea19da78
... | ... | @@ -9,7 +9,25 @@ If you connect its only input to a variable or value block, the data will be pri |
9 | 9 | |
10 | 10 | ![basic inspect usage](https://www.fancade.com/wiki/uploads/Screenshot_2022-09-29-19-14-11-550.jpeg) |
11 | 11 | |
12 | 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. |
|
12 | ## Types of inspect |
|
13 | ||
14 | There are 5 different inspect blocks, each one for a different type of value. |
|
15 | ||
16 | ![types of inspect blocks](https://www.fancade.com/wiki/uploads/Screenshot_9.png) |
|
17 | ||
18 | From left to right and top to bottom, we have: |
|
19 | ||
20 | * Number |
|
21 | * Object |
|
22 | * Vector |
|
23 | * Truth |
|
24 | * Rotation |
|
25 | ||
26 | _One small consideration is that the number displayed on the object inspect is not actually useful, but there is an use for the object inspect, which we will talk about bellow in the next section._ |
|
27 | ||
28 | _and you might also notice that the rotation inspect shows a completely different value from what it's being given to it, this is because the same rotation can be expressed with different angles, so don't worry too much about this one_ |
|
29 | ||
30 | It's also neccessary to know that the display on this block 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. |
|
13 | 31 | |
14 | 32 | And that's when: **Advanced mode**, comes in. |
15 | 33 | |
... | ... | @@ -23,6 +41,10 @@ To use it all you need to do is select any inspect block in the game, once selec |
23 | 41 | |
24 | 42 | ![how to enable advanced](https://www.fancade.com/wiki/uploads/Screenshot_5.png) |
25 | 43 | |
44 | Now about that useless object inspect, it turns out it's actually not that useless, and that's thanks to the advanced inspect, when you activate it the object inspect will show a line going from the inspect button to the object being inspected. |
|
45 | ||
46 | ![advanced object inspect](https://www.fancade.com/wiki/uploads/Screenshot_10.png) |
|
47 | ||
26 | 48 | 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. |
27 | 49 | To stop printing the values simply tap that same button again. |
28 | 50 |