# Set Origin

The **Set Origin** operator is used to relocate the origin point of the selected or active object. The origin point is used as the pivot when you scale or rotate an object. It is also used to position objects when added to the 3D viewport.

<figure><img src="/files/uWniGmXEl3pZh0S9kFd7" alt=""><figcaption><p>Figure 1</p></figcaption></figure>

You get two option when using the operator on where to place the new origin point. You have Axis which puts the origin point on the furthest possible vertex point in the X, Y or Z axis or the Selected which sets the origin point on the average location of all the selected vertices.

<figure><img src="/files/gKEUdaNMvacp0hqULy5q" alt=""><figcaption><p>Figure 3</p></figcaption></figure>

In Figure 3, you can see the origin represented by the small orange dot and also the 3D widget. Notice how it repositions on the farthest point in the selected axis? You can also reverse this by using the negative or positive direction of this axis.

<figure><img src="/files/1Sq6cH17mTsi2YWlv7In" alt=""><figcaption><p>Figure 4</p></figcaption></figure>

This new location is determined by the farthest point in the mesh using vertex location. To use more vertices and move the location of the new origin point, simply raise the value of the tolerance property.

<figure><img src="/files/FYOPUj5iJwUCmk1d5AxD" alt=""><figcaption><p>Figure 5</p></figcaption></figure>

Using Selected will use the average location of the selected vertices as the new origin point.

<figure><img src="/files/42s89hOekiuymnjdbApa" alt=""><figcaption><p>Figure 6</p></figcaption></figure>

This operator is mainly designed to work with the **Random Scatter** operator in order for the scatter object to be placed on the surface of another object perfectly on its "foot" or the farthest point in the negative Z axis.

<figure><img src="/files/nZUHqWFrExUMBB36UWPE" alt=""><figcaption><p>Figure 7</p></figcaption></figure>

When using this for **Random Scatter**, be sure that the model is "standing up" on the Z axis because the **Random Scatter** operator uses this axis to align the scatter object on the normals of faces.


---

# 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://www.blenderguppy.com/add-ons/random-flow/functions/extras/set-origin.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.
