# What module needs imported for occlusion related Mesh properties to be available?

**URL:** <https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491>\
**Category:** Questions\
**Tags:** occlusion\
**Created:** [October 4, 2022, 6:57pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491 "2022-10-04T18:57:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Eisaman](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/eric_eisaman/32/27287_2.png) [@Eric\_Eisaman](https://forum.babylonjs.com/u/Eric_Eisaman)\
**Post date:** [October 4, 2022, 6:57pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/1 "2022-10-04T18:57:24Z")

</div>

What module needs imported for occlusion related Mesh properties to be available?

Specifically, properties such as ‘occlusionQueryAlgorithmType’ , ‘occlusionType’ , and ‘isOccluded’ don’t appear on Mesh type in my local dev, where I use Babylon modules.

Examples in documentation:

> **[Mesh | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/classes/BABYLON.Mesh-1#isOccluded)**
>
> Class used to represent renderable models \[API\]

> **[Mesh | Babylon.js Documentation](https://doc.babylonjs.com/typedoc/classes/BABYLON.Mesh-1#occlusionQueryAlgorithmType)**
>
> Class used to represent renderable models \[API\]

---

<div class="post-metadata">

**Author:** ![Blake](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/blake/32/21509_2.png) [@Blake](https://forum.babylonjs.com/u/Blake)\
**Post date:** [October 4, 2022, 7:28pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/2 "2022-10-04T19:28:03Z")

</div>

Hey there, welcome to the forum. 🙂 Here’s the import statement you need for those properties. There’s a list in the documentation at the end of the [FAQ](https://doc.babylonjs.com/setup/frameworkPackages/es6Support#faq) that tells which modules are needed to enable various features. But @RaananW it looks like there’s a discrepancy where the doc says “engine.occlusionQuery” but really it’s “engine.query”.

`import "@babylonjs/core/Engines/Extensions/engine.query";`

---

<div class="post-metadata">

**Author:** ![Eric\_Eisaman](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/eric_eisaman/32/27287_2.png) [@Eric\_Eisaman](https://forum.babylonjs.com/u/Eric_Eisaman)\
**Post date:** [October 4, 2022, 7:43pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/3 "2022-10-04T19:43:30Z")

</div>

Thank you very much Blake.

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 4, 2022, 10:04pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/4 "2022-10-04T22:04:40Z")

</div>

Will solve this first thing tomorrow. Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 4, 2022, 10:04pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/5 "2022-10-04T22:04:48Z")

</div>

Assigned @RaananW on October 4, 2022, 10:04pm UTC



---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 7, 2022, 6:24pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/6 "2022-10-07T18:24:11Z")

</div>

Unassigned @RaananW on October 7, 2022, 6:24pm UTC



---

<div class="post-metadata">

**Author:** ![RaananW](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/raananw/32/28955_2.png) [@RaananW](https://forum.babylonjs.com/u/RaananW)\
**Post date:** [October 7, 2022, 6:24pm UTC](https://forum.babylonjs.com/t/what-module-needs-imported-for-occlusion-related-mesh-properties-to-be-available/34491/7 "2022-10-07T18:24:27Z")

</div>

This was updated. thanks again 🙂
