# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/ovr-component-system-ancient-legacy/nodes/logics/ovrmathf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
