# Editing bounding box visualiser in Unity

**URL:** <https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631>\
**Category:** C#\
**Tags:** unity\
**Created:** [October 4, 2023, 3:44am UTC](https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631 "2023-10-04T03:44:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![a11s](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/df705f/32.png) [@a11s](https://community.stereolabs.com/u/a11s)\
**Post date:** [October 4, 2023, 3:44am UTC](https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631/1 "2023-10-04T03:44:27Z")

</div>

What lines of code in the scripts in the Unity plugin can I use to change the design of the bounding boxes and accompanying text boxes?

For example, I’d like to turn on/off the bounding box but keep the text box with distance and ID info etc., move and resize the text box, and possibly edit the transparency of the bounding boxes.

---

<div class="post-metadata">

**Author:** ![JPlou](https://community.stereolabs.com/user_avatar/community.stereolabs.com/jplou/32/1012_2.png) [@JPlou](https://community.stereolabs.com/u/JPlou)\
**Post date:** [October 4, 2023, 8:36am UTC](https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631/2 "2023-10-04T08:36:25Z")

</div>

Hi @a11s

Please take a look at the [ZED3DObjectVisualizer](https://github.com/stereolabs/zed-unity/blob/master/ZEDCamera/Assets/ZED/Examples/Object%20Detection/Scripts/ZED3DObjectVisualizer.cs) and [BBox3DHandler](https://github.com/stereolabs/zed-unity/blob/master/ZEDCamera/Assets/ZED/Examples/Object%20Detection/Scripts/BBox3DHandler.cs) scripts, especially the methods `SetID(string id)` and `GetBBoxForObject(DetectedObject dobj)` and where they are called.
