# vtkLineWidget Handle Visible

**URL:** https://discourse.vtk.org/t/vtklinewidget-handle-visible/15689
**Category:** vtk.js
**Created:** [May 29, 2025, 10:14pm UTC](https://discourse.vtk.org/t/vtklinewidget-handle-visible/15689 "2025-05-29T22:14:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Taz145](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/t/5f8ce5/32.png) [@Taz145](https://discourse.vtk.org/u/Taz145)
#### Post date: [May 29, 2025, 10:14pm UTC](https://discourse.vtk.org/t/vtklinewidget-handle-visible/15689/1 "2025-05-29T22:14:50Z")

</div>

In the source for the vtkLineWidget there are references to being able to make the handles non-visible but still intractable by the user. I am attempting to draw SVG elements where the handles are, the same as glance and volview, but am unable to drag a handle once it has been placed. The app I’m building is using react so VolView and Glance can’t be copied 1-to-1 since they use Vue. Any help would be appreciated

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [September 28, 2025, 10:05am UTC](https://discourse.vtk.org/t/vtklinewidget-handle-visible/15689/2 "2025-09-28T10:05:13Z")

</div>

An easy trick is to render the handles with opacity of 0.001.

The clean way is to play with `updateRepresentationForRender`. It controls the representation of handles depending if you are “rendering” or “picking”.
