# SelectionManager colors

**URL:** <https://forum.techsoft3d.com/t/selectionmanager-colors/3052>\
**Category:** HOOPS Visualize Web\
**Created:** [December 18, 2023, 4:58pm UTC](https://forum.techsoft3d.com/t/selectionmanager-colors/3052 "2023-12-18T16:58:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guillaume.robichaud](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@guillaume.robichaud](https://forum.techsoft3d.com/u/guillaume.robichaud)\
**Post date:** [December 18, 2023, 4:58pm UTC](https://forum.techsoft3d.com/t/selectionmanager-colors/3052/1 "2023-12-18T16:58:40Z")

</div>

Hi,

I had questions regarding the selection colors. Is it possible to change the outline width? And is it possible to apply a transparent selection color?

This is the mockup of what we would like to achieve:  
 ![image (5)](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/e/e70276b0e07cc9c6a36aa6ff8dfe88358cfefd25.png)

---

<div class="post-metadata">

**Author:** ![guillaume.robichaud](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@guillaume.robichaud](https://forum.techsoft3d.com/u/guillaume.robichaud)\
**Post date:** [December 18, 2023, 5:10pm UTC](https://forum.techsoft3d.com/t/selectionmanager-colors/3052/2 "2023-12-18T17:10:55Z")

</div>

And this is what we actually have. The outline is too thin and the fill color is too strong.

 ![Screenshot from 2023-12-18 12-09-39](https://us1.discourse-cdn.com/flex020/uploads/techsoft3d/original/2X/f/fa150e07031f76032eb3baa09f8e72f2cccede10.png)

---

<div class="post-metadata">

**Author:** ![tino](https://avatars.discourse-cdn.com/v4/letter/t/9dc877/32.png) [@tino](https://forum.techsoft3d.com/u/tino)\
**Post date:** [December 18, 2023, 9:26pm UTC](https://forum.techsoft3d.com/t/selectionmanager-colors/3052/3 "2023-12-18T21:26:33Z")

</div>

Hello @guillaume.robichaud,

While it’s possible to set the color of the highlight outline through the function [setNodeSelectionOutlineColor()](https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.SelectionManager.html#Communicator.SelectionManager.setNodeSelectionOutlineColor), the color parameter is limited to only RGB – no alpha. So it would not be possible to make the color transparent.

With respect to setting the width of the outline, there is no API in the Web Viewer to do this.

We’ll go ahead and create two separate feature requests on your behalf.

Thanks,  
Tino

---

<div class="post-metadata">

**Author:** ![guillaume.robichaud](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@guillaume.robichaud](https://forum.techsoft3d.com/u/guillaume.robichaud)\
**Post date:** [December 18, 2023, 9:37pm UTC](https://forum.techsoft3d.com/t/selectionmanager-colors/3052/4 "2023-12-18T21:37:39Z")

</div>

I was looking around the doc and couldn’t find anything so I figured it wasn’t supported. But there’s no harm in asking 😉

Thanks for the tickets, we’ll be able to keep track of the progress.
