# What should I do with this frame which is similar to the highlight layer?

**URL:** <https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821>\
**Category:** Questions\
**Created:** [June 21, 2021, 12:34pm UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821 "2021-06-21T12:34:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [June 21, 2021, 12:34pm UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/1 "2021-06-21T12:34:57Z")

</div>

Like this:

 ![frame20210621203134](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/b/ab22cc5cc434d19a8488de1ce35b08f9ae208075.jpeg)  
Screenshot from:

> **[WebVR Showroom](https://showroom.littleworkshop.fr/)**
>
> Step inside a virtual showroom built with WebGL and WebVR.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 21, 2021, 3:11pm UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/2 "2021-06-21T15:11:19Z")

</div>

not sure I fully get the question ??? but the edgesRenderer might be what you are looking for.

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [June 22, 2021, 1:45am UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/3 "2021-06-22T01:45:25Z")

</div>

That is what I need 😁

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [June 22, 2021, 6:17am UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/4 "2021-06-22T06:17:07Z")

</div>

I seem to have missed something.[Babylon.js Playground](https://playground.babylonjs.com/#U8BCGJ)  
It has no effect on both sides of the cylinder.Do you have any idea ?

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [June 22, 2021, 6:37am UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/5 "2021-06-22T06:37:55Z")

</div>

It only impacts where there is a sharp change of normals unfortunately so in your case using a highlight layer in edge mode might be better ?

In the constructor options you can put isStroke to true

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [June 22, 2021, 7:33am UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/6 "2021-06-22T07:33:28Z")

</div>

Thanks ! isStroke is worked. hightlight can do it .[https://playground.babylonjs.com/#U8BCGJ#1](https://playground.babylonjs.com/#U8BCGJ#1)

---

<div class="post-metadata">

**Author:** ![thomlucc](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/thomlucc/32/4046_2.png) [@thomlucc](https://forum.babylonjs.com/u/thomlucc)\
**Post date:** [June 23, 2021, 12:44am UTC](https://forum.babylonjs.com/t/what-should-i-do-with-this-frame-which-is-similar-to-the-highlight-layer/21821/7 "2021-06-23T00:44:00Z")

</div>

@musk : in case you didn’t have it already, here are more tips on [Highlighting Meshes | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/mesh/highlightLayer)
