# Get the current Rotation of a mesh

**URL:** <https://forum.babylonjs.com/t/get-the-current-rotation-of-a-mesh/36801>\
**Category:** Questions\
**Created:** [December 22, 2022, 2:10pm UTC](https://forum.babylonjs.com/t/get-the-current-rotation-of-a-mesh/36801 "2022-12-22T14:10:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rangerz132](https://avatars.discourse-cdn.com/v4/letter/r/cc9497/32.png) [@Rangerz132](https://forum.babylonjs.com/u/Rangerz132)\
**Post date:** [December 22, 2022, 2:10pm UTC](https://forum.babylonjs.com/t/get-the-current-rotation-of-a-mesh/36801/1 "2022-12-22T14:10:18Z")

</div>

Hi! My question might be a bit stupid and easy to answer.

I have a mesh which is constantly rotating which works great :

```auto
this.mesh.rotate(new Vector3(0, 0, 1), mySpeed);

```

When I tried to console.log the current rotation of the mesh:

```auto
console.log(this.mesh.rotation)

```

It simply return _ **Vector3 {\_isDirty: false, \_x: 0, \_y: 0, \_z: 0}** _

My question is, how can I know the current rotation of my mesh?

---

<div class="post-metadata">

**Author:** ![JohnK](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/johnk/32/26764_2.png) [@JohnK](https://forum.babylonjs.com/u/JohnK)\
**Post date:** [December 22, 2022, 3:39pm UTC](https://forum.babylonjs.com/t/get-the-current-rotation-of-a-mesh/36801/2 "2022-12-22T15:39:08Z")

</div>

I think it is because rotate sets rotationQuaternion of the mesh not its rotation. A mesh cannot use both at the same time. Try console.log(this.mesh.rotationQuaterion)

You might want to read

> **[Rotation Quaternions | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/center_origin/rotation_quaternions)**
>
> Learn about rotation quaternions in Babylon.js.

> **[Rotation Conventions | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/mesh/transforms/center_origin/rotation_conventions)**
>
> Learn about rotation conventions in Babylon.js.
