=====Math===== ====Summary==== This behaviour will create a mathematical property containing two float values which can be used by other assets and properties to perform calculations. For example, by creating an "addition" property and assigning it the **+** value, other properties can set values A and B to appropriate numerical values to find the result of those two values added together mathematically. ====Parameters==== ===Name=== //Type: [[text]] Default: **Difference**// The name of the property. Ideally this value will reflect the associated process of the property (e.g. for a property that adds two values together, the name "Addition" would be appropriate). ===PointA=== //Type: [[Float]] Bindable Default: **None**// The first numerical value to be processed. ===PointB=== //Type: [[Float]] Bindable Default: **None**// The second numerical value to be processed. ===Units=== //Type: [[text]] Default: **m**// The unit of measurement formatting to be applied to the final result. e.g. m, cm, %, $ etc. ===Function=== //Type: [[Enum]] Default: **-**// ^Symbol^Meaning^ |**-**|Subtraction - subtract PointB from PointA| |**+**|Addition - add PointA to PointB| |**x**|Multiplication - multiply PointA by PointB| |**/**|Division - divide PointA by PointB| ====Examples==== > This code will create a property called **Multiply** which will take the values **2** and **3** then multiply them.