# Pointer click detection is wrong after rotating the HTML (via CSS). Click on GUI elements not detected

**URL:** <https://forum.babylonjs.com/t/pointer-click-detection-is-wrong-after-rotating-the-html-via-css-click-on-gui-elements-not-detected/27549>\
**Category:** Questions\
**Created:** [February 10, 2022, 5:31pm UTC](https://forum.babylonjs.com/t/pointer-click-detection-is-wrong-after-rotating-the-html-via-css-click-on-gui-elements-not-detected/27549 "2022-02-10T17:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![singerxt](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/singerxt/32/15373_2.png) [@singerxt](https://forum.babylonjs.com/u/singerxt)\
**Post date:** [February 10, 2022, 10:56pm UTC](https://forum.babylonjs.com/t/pointer-click-detection-is-wrong-after-rotating-the-html-via-css-click-on-gui-elements-not-detected/27549/4 "2022-02-10T22:56:32Z")

</div>

> [@Safari iOS full screen experience. Problem with ArcCamera controls](https://forum.babylonjs.com/t/safari-ios-full-screen-experience-problem-with-arccamera-controls/27270/7):
>
> I’m not sure if modifying the limits will help in this scenario but if you’re just handling a single input for rotation, there’s an additional approach I could recommend trying. You could manually handle the inputs in your code: scene.onPointerObservable.add((ev) =\> { let evt = ev.event; let moveY = evt.movementX || evt.mozMovementX || evt.webkitMovementX || evt.msMovementX || 0; let moveX =…

You might need to write your custom input which handles that.

---

_[View the full topic](https://forum.babylonjs.com/t/pointer-click-detection-is-wrong-after-rotating-the-html-via-css-click-on-gui-elements-not-detected/27549)._
