# How to change the property of the vtkBoxWidget2?

**URL:** https://discourse.vtk.org/t/how-to-change-the-property-of-the-vtkboxwidget2/5457
**Category:** Support
**Created:** [March 29, 2021, 8:39am UTC](https://discourse.vtk.org/t/how-to-change-the-property-of-the-vtkboxwidget2/5457 "2021-03-29T08:39:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Kim\_William](https://discourse.vtk.org/user_avatar/discourse.vtk.org/kim_william/32/373_2.png) [@Kim\_William](https://discourse.vtk.org/u/Kim_William)
#### Post date: [March 29, 2021, 8:39am UTC](https://discourse.vtk.org/t/how-to-change-the-property-of-the-vtkboxwidget2/5457/1 "2021-03-29T08:39:47Z")

</div>

Hi all.

I have a question about the vtkBoxWidget2.

I’m trying to change the color and thickness of the line of the vtkBoxWidget2.  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/6/65f24d21983819ff6b51fc30a5031178b328e903.png)

Is it possible to change the property of the vtkBoxWidget2?  
Could you please give me an advise?

Thank you.

Best regards,  
William Kim
