# How to use HighlightLayer to display the edges of objects to the top layer

**URL:** <https://forum.babylonjs.com/t/how-to-use-highlightlayer-to-display-the-edges-of-objects-to-the-top-layer/51526>\
**Category:** Questions\
**Tags:** highlightlayer\
**Created:** [June 22, 2024, 4:56pm UTC](https://forum.babylonjs.com/t/how-to-use-highlightlayer-to-display-the-edges-of-objects-to-the-top-layer/51526 "2024-06-22T16:56:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xiehangyun](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/xiehangyun/32/30777_2.png) [@xiehangyun](https://forum.babylonjs.com/u/xiehangyun)\
**Post date:** [June 23, 2024, 1:07am UTC](https://forum.babylonjs.com/t/how-to-use-highlightlayer-to-display-the-edges-of-objects-to-the-top-layer/51526/2 "2024-06-23T01:07:15Z")

</div>

[three.js examples (threejs.org)](https://threejs.org/examples/?q=outline#webgl_postprocessing_outline)  
You may want to consider porting ThreeJS’s outline  
[Tips on how to create something like three postprocessing\_outline in babylon js - Questions - Babylon.js](https://forum.babylonjs.com/t/tips-on-how-to-create-something-like-three-postprocessing-outline-in-babylon-js/31907/8)  
This is the relevant literature I found on the babylon forum

---

_[View the full topic](https://forum.babylonjs.com/t/how-to-use-highlightlayer-to-display-the-edges-of-objects-to-the-top-layer/51526)._
