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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
