How do I get a scalar variable from a math block instead of a scalar field?


When using math blocks I was expecting to get a scalar variable as the result. Instead, I got a scalar field. How can I get a scalar variable instead?

Applies to:

  • Blocks, Math, Overloads


This is happening due to the block's Overloads. Overloads allow you to change the input and output type of the entire block. 


To get a scalar variable, use the block's Overload to change the type for the input and output. 

To do this, select the downward arrow after the block name and choose the type you want. This sets the block to have a different type for the input and output. 


More on this topic:


 block blocks field convert change scalar type math overload issue overloads 
Was this article helpful?