# In right handed coordinate system (three js) How can i swap the y axis with z axis?

**URL:** <https://discourse.threejs.org/t/in-right-handed-coordinate-system-three-js-how-can-i-swap-the-y-axis-with-z-axis/733>\
**Category:** Questions\
**Tags:** coordinate-system\
**Created:** [August 15, 2017, 9:37am UTC](https://discourse.threejs.org/t/in-right-handed-coordinate-system-three-js-how-can-i-swap-the-y-axis-with-z-axis/733 "2017-08-15T09:37:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Fyrestar](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/fyrestar/32/52793_2.png) [@Fyrestar](https://discourse.threejs.org/u/Fyrestar)\
**Post date:** [August 15, 2017, 4:32pm UTC](https://discourse.threejs.org/t/in-right-handed-coordinate-system-three-js-how-can-i-swap-the-y-axis-with-z-axis/733/2 "2017-08-15T16:32:53Z")

</div>

As my reply to your [other post](https://discourse.threejs.org/t/how-to-rotate-scene-object-based-on-x-y-z-coordinates/732/2), you can set it on each individual object or mesh with myObject.up.set(0.0, 0.0, 1.0) or on `THREE.Object3D.DefaultUp` before any object is created.

---

_[View the full topic](https://discourse.threejs.org/t/in-right-handed-coordinate-system-three-js-how-can-i-swap-the-y-axis-with-z-axis/733)._
