# BILLBOARDMODE\_ALL get rotation angle

**URL:** <https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700>\
**Category:** Questions\
**Created:** [October 5, 2023, 3:26pm UTC](https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700 "2023-10-05T15:26:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amark](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/amark/32/25897_2.png) [@amark](https://forum.babylonjs.com/u/amark)\
**Post date:** [October 5, 2023, 3:26pm UTC](https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700/1 "2023-10-05T15:26:49Z")

</div>

Hi,

i want rotation angle values of the box.Mesh.BILLBOARDMODE\_ALL

i found below link for reference

> **[Babylon.js Playground](https://playground.babylonjs.com/#4ECHM3)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

in my project, i like to save rotation values of box, but i didn’t find answer . please help on this

---

<div class="post-metadata">

**Author:** ![Takemura](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/takemura/32/25836_2.png) [@Takemura](https://forum.babylonjs.com/u/Takemura)\
**Post date:** [October 5, 2023, 4:27pm UTC](https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700/2 "2023-10-05T16:27:42Z")

</div>

You can utilize the [absoluteRotationQuaternion](https://doc.babylonjs.com/typedoc/classes/BABYLON.AbstractMesh#absoluteRotationQuaternion)-getter of `Mesh`.

Example PG, that gets rotation by scene pointer down:

> **[Babylon.js Playground](https://playground.babylonjs.com/#53940K)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![amark](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/amark/32/25897_2.png) [@amark](https://forum.babylonjs.com/u/amark)\
**Post date:** [November 24, 2023, 12:35pm UTC](https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700/3 "2023-11-24T12:35:55Z")

</div>

can we get rotation angle console.log(box.absoluteRotationQuaternion) **without pointer down** ,

> **[Babylon.js Playground](https://playground.babylonjs.com/#53940K)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

i mean immediate after object creation.

var box = BABYLON.MeshBuilder.CreateBox(“box”, {size: 1}, scene);  
box.billboardMode = BABYLON.Mesh.BILLBOARDMODE\_ALL;  
console.log(box.absoluteRotationQuaternion)

---

<div class="post-metadata">

**Author:** ![carolhmj](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/carolhmj/32/25918_2.png) [@carolhmj](https://forum.babylonjs.com/u/carolhmj)\
**Post date:** [November 24, 2023, 1:23pm UTC](https://forum.babylonjs.com/t/billboardmode-all-get-rotation-angle/44700/4 "2023-11-24T13:23:57Z")

</div>

If you get the angle exactly after creation, it will be zero, because the billboard calculation won’t have run yet. But you could get it after the first time the scene is rendered: [Billboard Get Rotation Values | Babylon.js Playground (babylonjs.com)](https://playground.babylonjs.com/#53940K#1)
