# \#selection

**URL:** https://forum.babylonjs.com/tag/selection/172.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [WebGPU failing to render with \`SelectionOutlineLayer\` (and \`scene.enableDepthRenderer()\`)](https://forum.babylonjs.com/t/webgpu-failing-to-render-with-selectionoutlinelayer-and-scene-enabledepthrenderer/62611)

<div class="topic-metadata">

**Author:** [@regna](https://forum.babylonjs.com/u/regna)\
**Replies:** 9\
**Last updated:** [March 2, 2026, 5:51pm UTC](https://forum.babylonjs.com/t/webgpu-failing-to-render-with-selectionoutlinelayer-and-scene-enabledepthrenderer/62611 "2026-03-02T17:51:25Z")

</div>

Hi folks! I recently upgraded my project using SelectionOutlineLayer from the standard Engine to WebGPUEngineusing the same options as the Playground does: const engine = new BABYLON.WebGPUEngine(canvas, { enableAllFea…

---

## [Dealing with overlapping highlights](https://forum.babylonjs.com/t/dealing-with-overlapping-highlights/34045)

<div class="topic-metadata">

**Author:** [@DiogoSnows](https://forum.babylonjs.com/u/DiogoSnows)\
**Replies:** 7\
**Last updated:** [September 20, 2022, 12:53pm UTC](https://forum.babylonjs.com/t/dealing-with-overlapping-highlights/34045 "2022-09-20T12:53:15Z")

</div>

Hi :wave: I’m trying to implement a simple object selection logic and came across this HighlightLayer docs. I have implemented a simple scene at Babylon.js Playground You can try pick the ground or sphere and it shoul…

---

## [MouseEvent callback lag with mesh selection](https://forum.babylonjs.com/t/mouseevent-callback-lag-with-mesh-selection/31941)

<div class="topic-metadata">

**Author:** [@arcman7](https://forum.babylonjs.com/u/arcman7)\
**Replies:** 22\
**Last updated:** [July 15, 2022, 10:15pm UTC](https://forum.babylonjs.com/t/mouseevent-callback-lag-with-mesh-selection/31941 "2022-07-15T22:15:30Z")

</div>

The issue I’m facing right now is that when there are thousands of selectable thininstances in the scene, every mouse down / up event triggers a callback that takes ~ 400-600 milliseconds to execute, so with a full click…
