# Models become non-visible when moving around?

**URL:** <https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949>\
**Category:** Questions\
**Tags:** material, pbr, animation, camera, gltf\
**Created:** [May 19, 2021, 9:01pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949 "2021-05-19T21:01:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![micsun-al](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/micsun-al/32/5274_2.png) [@micsun-al](https://forum.babylonjs.com/u/micsun-al)\
**Post date:** [May 19, 2021, 9:01pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949/1 "2021-05-19T21:01:10Z")

</div>

Babylon.js v5.0.0-alpha.22 WebGL2

[![](https://img.youtube.com/vi/ZZkoZ1nOQ6I/hqdefault.jpg "Babylon.js model disappearing when changing position") ](https://www.youtube.com/watch?v=ZZkoZ1nOQ6I)

I am moving the model around, and at certain positions one of the meshes seem to become non-visible.

The weird thing is, if I resize the window, different parts of the model, or the whole model seem to disappear/reappear.

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:** [May 19, 2021, 9:55pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949/2 "2021-05-19T21:55:08Z")

</div>

Can you try to flag that mesh with `alwaysSelectAsActiveMesh` set to true

---

<div class="post-metadata">

**Author:** ![micsun-al](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/micsun-al/32/5274_2.png) [@micsun-al](https://forum.babylonjs.com/u/micsun-al)\
**Post date:** [May 19, 2021, 9:58pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949/3 "2021-05-19T21:58:29Z")

</div>

Oh that worked, thank you @Deltakosh ! 🙂

---

<div class="post-metadata">

**Author:** ![sokorototo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sokorototo/32/11061_2.png) [@sokorototo](https://forum.babylonjs.com/u/sokorototo)\
**Post date:** [May 19, 2021, 10:31pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949/4 "2021-05-19T22:31:46Z")

</div>

What does this flag do?

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [May 19, 2021, 10:55pm UTC](https://forum.babylonjs.com/t/models-become-non-visible-when-moving-around/20949/5 "2021-05-19T22:55:26Z")

</div>

If `alwaysSelectAsActiveMesh` is `true` the mesh must be rendered in any case (this will shortcut the frustum clipping phase) - [Mesh | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/classes/babylon.mesh#alwaysselectasactivemesh)
