> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/logics/ovrmathf.md).

# OvrMathf

Description

This Node is responsible for implementing simple Mathematic operations between [OvrNumericVariables](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/variables/ovrnumericvariable.md).

#### Variable Compatibility

Based on the type of variables involved, some operations are not allowed:

* OvrInt and OvrFloat cannot be Added or Subracted to OvrVector2, OvrVector3 and OvrQuaternion, nor can be Multiplied or Divided to OvrQuaternion
* OvrQuaternion can only be Multiplied to OvrVector3 and OvrQuaternion

#### Attributes

{% hint style="info" %}
**Note**: the following attributes are added to the existing ones from the super class [OvrNode](/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/ovrnode.md)
{% endhint %}

<table><thead><tr><th width="207.25180401430134">Name</th><th width="184.37606246596818">Type</th><th width="340.1572968009442">Description</th><th data-hidden></th><th data-hidden></th></tr></thead><tbody><tr><td>MathFunctionType</td><td><a href="/pages/FNJeI0nAuTASfrNNG1Xs">MathFunctionType</a></td><td>Type of operation</td><td></td><td></td></tr><tr><td>Variable1</td><td><a href="/pages/MBXkPoiZc9oz36mgEMqy">OvrNumericVariable</a></td><td>First Operation Variable</td><td></td><td></td></tr><tr><td>Variable2</td><td><a href="/pages/MBXkPoiZc9oz36mgEMqy">OvrNumericVariable</a></td><td>Second Operation Variable</td><td></td><td></td></tr><tr><td>Result</td><td><a href="/pages/MBXkPoiZc9oz36mgEMqy">OvrNumericVariable</a></td><td>Operation result</td><td></td><td></td></tr></tbody></table>

![Example of OvrMathf.](/files/7EBvFlmzDcJ9IvqCN8aW)
