# Keep 3D model after image target is lost, and model should present on initial position, don't move with phone movement

**URL:** <https://forum.8thwall.com/t/keep-3d-model-after-image-target-is-lost-and-model-should-present-on-initial-position-dont-move-with-phone-movement/7524>\
**Category:** Technical Support\
**Created:** [July 12, 2025, 5:05am UTC](https://forum.8thwall.com/t/keep-3d-model-after-image-target-is-lost-and-model-should-present-on-initial-position-dont-move-with-phone-movement/7524 "2025-07-12T05:05:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatima\_AR](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Fatima\_AR](https://forum.8thwall.com/u/Fatima_AR)\
**Post date:** [July 12, 2025, 5:05am UTC](https://forum.8thwall.com/t/keep-3d-model-after-image-target-is-lost-and-model-should-present-on-initial-position-dont-move-with-phone-movement/7524/1 "2025-07-12T05:05:27Z")

</div>

I am using 8th wall to detect image target and place model when the target is found. However when the image target is not in view of the camera, the model disappears. I want the model to stay even if the image target is not in view.  
When I try this:  
`AFRAME.registerComponent('keepvisibleonlost', { init() { let el = this.el el.sceneEl.addEventListener('xrimagelost', function(){ el.object3D.visible = true }) }, })`  
then model not disappears on marker lost but it moves as phone’s camera moves. I want model to be stuck on its initial position, not drift with camera.

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [July 14, 2025, 4:13pm UTC](https://forum.8thwall.com/t/keep-3d-model-after-image-target-is-lost-and-model-should-present-on-initial-position-dont-move-with-phone-movement/7524/2 "2025-07-14T16:13:22Z")

</div>

I’m guessing you’re using Editor? If so I would recommend using the Image Target to enable / disable SLAM tracking. You can clone the Sample Project we have here:

> **[Image Target + SLAM Manipulate 3D Model | 8th Wall Playground | 8th Wall](https://www.8thwall.com/playground/image-target-slam-model-aframe)**
>
> This A-Frame example project showcases an image target being tracked with World Tracking (SLAM) enabled. The 3D models are in relative scale.
