# ReactNative demo hitTest position error

**URL:** <https://forum.babylonjs.com/t/reactnative-demo-hittest-position-error/23934>\
**Category:** Questions\
**Tags:** webxr\
**Created:** [September 18, 2021, 11:10am UTC](https://forum.babylonjs.com/t/reactnative-demo-hittest-position-error/23934 "2021-09-18T11:10:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ryantrem](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/ryantrem/32/34010_2.png) [@ryantrem](https://forum.babylonjs.com/u/ryantrem)\
**Post date:** [September 19, 2021, 5:23pm UTC](https://forum.babylonjs.com/t/reactnative-demo-hittest-position-error/23934/3 "2021-09-19T17:23:49Z")

</div>

`scene.onPointerObservable` is part of the input system that is still being adapted to the newer `DeviceSourceManager` input abstraction. @PolygonalSun is it expected that `onPointerObservable` works with Babylon Native at this point? If so, can you help diagnose this?

@qiufeng you can also try using `DeviceSourceManager` directly as a work around. You can find some examples in other threads such as [How to enable touch input for ArcRotateCamera on Babylon React Native - Questions - Babylon.js (babylonjs.com)](https://forum.babylonjs.com/t/how-to-enable-touch-input-for-arcrotatecamera-on-babylon-react-native/13809/13)

@qiufeng not sure if this is causing a problem, but you shouldn’t have this code in your app:

```auto
      engine.runRenderLoop(function () {
        scene.render();
      });

```

Babylon React Native does that automatically.

@qiufeng also what is the exact make/model of the device you are testing this code on?

---

_[View the full topic](https://forum.babylonjs.com/t/reactnative-demo-hittest-position-error/23934)._
