Custom ValuesΒΆ
Sometimes you need to compute a value several times. Use a custom value to create a new block and use it as a short hand for the value.
Custom values can also be used to hide some complicated expression behind a much nicer syntax. For example, in the Math basic blocks brain, we have the following monstrosity defined:
It computes the angle between two vectors and returns an angle with the correct sign. By making this a custom value, its usage could look something like:

Which, as you can see, is much more readable than the weird vector calculations above.