# Different behavior between LightGizmo and CameraGizmo

**URL:** <https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355>\
**Category:** Bugs\
**Created:** [August 13, 2020, 2:57pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355 "2020-08-13T14:57:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [August 13, 2020, 2:57pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355/1 "2020-08-13T14:57:42Z")

</div>

Hello,

The problem is with the lightGizmo which does not react like the CameraGizmo which has the expected behavior.

**Problem:**

- If we add a GizmoManager to a light, it is not attached to the LightGizmo (and yet the light is attached to the LightGizmo). It works great on CameraGizmo
- The GizmoManager is not looking the same direction as the LightGizmo (but I think it relates to the first problem above). On the camera, it looks in the right direction.

**Test PG:**

- Move the camera with the Gizmo, everything is OK.
- Move the light with the Gizmo and the light does not move. It should be attached to the light which is attached to the LightGizmo like the camera.

[https://www.babylonjs-playground.com/#Z4ZGAY#25](https://www.babylonjs-playground.com/#Z4ZGAY#25)

**PS:** It would be nice if the Gizmo Light and Camera had the same color of materials, to keep the same consistency. There we have a white Gizmo and another Gray.

Thank you

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 13, 2020, 4:20pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355/2 "2020-08-13T16:20:29Z")

</div>

ok I fixed the color and now you can move the lights 🙂  
For direction is it expected because lights have no rotation (only a direction)

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [August 13, 2020, 4:26pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355/3 "2020-08-13T16:26:48Z")

</div>

Ok, thanks for the fix. I imagine it will be for next night?

Yes, I now understand the direction of the light.

Thanks again

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [August 13, 2020, 4:29pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355/4 "2020-08-13T16:29:30Z")

</div>

yes building it as we speak

will be live in a couple of hours

---

<div class="post-metadata">

**Author:** ![Dad72](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/dad72/32/13_2.png) [@Dad72](https://forum.babylonjs.com/u/Dad72)\
**Post date:** [August 13, 2020, 5:30pm UTC](https://forum.babylonjs.com/t/different-behavior-between-lightgizmo-and-cameragizmo/13355/5 "2020-08-13T17:30:20Z")

</div>

It looks good. I can move the light to the PG now.

Cool. I mark as ‘Solution’
