# Whether the properties of the volume drawing map, such as gradient opacity, can be changed during interaction. If so, how?

**URL:** https://discourse.vtk.org/t/whether-the-properties-of-the-volume-drawing-map-such-as-gradient-opacity-can-be-changed-during-interaction-if-so-how/10460
**Category:** Web
**Created:** [January 16, 2023, 7:30am UTC](https://discourse.vtk.org/t/whether-the-properties-of-the-volume-drawing-map-such-as-gradient-opacity-can-be-changed-during-interaction-if-so-how/10460 "2023-01-16T07:30:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zbz](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@zbz](https://discourse.vtk.org/u/zbz)
#### Post date: [January 16, 2023, 7:30am UTC](https://discourse.vtk.org/t/whether-the-properties-of-the-volume-drawing-map-such-as-gradient-opacity-can-be-changed-during-interaction-if-so-how/10460/1 "2023-01-16T07:30:34Z")

</div>

Whether the properties of the volume drawing map, such as gradient opacity, can be changed during interaction. If so, how?

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [January 17, 2023, 2:28pm UTC](https://discourse.vtk.org/t/whether-the-properties-of-the-volume-drawing-map-such-as-gradient-opacity-can-be-changed-during-interaction-if-so-how/10460/2 "2023-01-17T14:28:52Z")

</div>

Yes, you can make your changes (e.g. `actor.getProperty().setOpacity()`), and then call `renderWindow.render()` to see the new changes. Or, if it’s during interaction/animation, then the scene will automatically render.
