# Is there a way to programmatically trigger or reset absolute scaling?

**URL:** <https://forum.8thwall.com/t/is-there-a-way-to-programmatically-trigger-or-reset-absolute-scaling/1365>\
**Category:** Technical Support\
**Created:** [May 13, 2024, 4:13pm UTC](https://forum.8thwall.com/t/is-there-a-way-to-programmatically-trigger-or-reset-absolute-scaling/1365 "2024-05-13T16:13:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Developer\_svarmony](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Developer\_svarmony](https://forum.8thwall.com/u/Developer_svarmony)\
**Post date:** [May 13, 2024, 4:13pm UTC](https://forum.8thwall.com/t/is-there-a-way-to-programmatically-trigger-or-reset-absolute-scaling/1365/1 "2024-05-13T16:13:48Z")

</div>

Is there a way to programmatically trigger or reset absolute scaling?

 ![image](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/1X/938db1a85f75d1c821e9e5698f286efe6421e53c.jpeg)

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [May 13, 2024, 4:17pm UTC](https://forum.8thwall.com/t/is-there-a-way-to-programmatically-trigger-or-reset-absolute-scaling/1365/2 "2024-05-13T16:17:38Z")

</div>

You can use the `recenter` event to reset absolute scale. For example, if you’re using A-Frame:

```auto
this.el.sceneEl.emit('recenter')

```

> **[recenter | 8th Wall](https://www.8thwall.com/docs/api/aframeeventlisenters/recenter/)**
>
> scene.emit('recenter', {origin, facing})

> **[XR8.XrController.recenter() | 8th Wall](https://www.8thwall.com/docs/api/xrcontroller/recenter/)**
>
> XR8.XrController.recenter()
