The pi block is a reporter block that reports the value of pi (3.141592653589793238). To get the block, one must add the "Operators Expansion" extension.
A workaround is using the actual value of pi, which can be saved to a variable so it can easily be used multiple times in the code.