# RectAreaLight light scope

**URL:** <https://forum.babylonjs.com/t/rectarealight-light-scope/64245>\
**Category:** Questions\
**Tags:** documentation, meshes, light\
**Created:** [October 8, 2026, 7:54am UTC](https://forum.babylonjs.com/t/rectarealight-light-scope/64245 "2026-10-08T07:54:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andriisvityi](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@andriisvityi](https://forum.babylonjs.com/u/andriisvityi)\
**Post date:** [October 8, 2026, 7:54am UTC](https://forum.babylonjs.com/t/rectarealight-light-scope/64245/1 "2026-10-08T07:54:25Z")

</div>

Hello. I’d like to control which meshes are affected by a `RectAreaLight`. Is there a way to exclude specific meshes from its influence, similar to an `excludedMeshes` option on other light types?

If `RectAreaLight` doesn’t support this directly, is there a recommended workaround?

const rectLight = new BABYLON.RectAreaLight(  
“rectLight”,  
new BABYLON.Vector3(0, 2, 0),  
4,  
2,  
scene  
);

---

<div class="post-metadata">

**Author:** ![Cedric](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/cedric/32/2742_2.png) [@Cedric](https://forum.babylonjs.com/u/Cedric)\
**Post date:** [October 8, 2026, 8:39am UTC](https://forum.babylonjs.com/t/rectarealight-light-scope/64245/2 "2026-10-08T08:39:48Z")

</div>

cc @srzerbetto
