# How to translate the only one axis of the crosshair ?

**URL:** https://discourse.vtk.org/t/how-to-translate-the-only-one-axis-of-the-crosshair/13716
**Category:** Support
**Tags:** code, proposal
**Created:** [April 16, 2024, 1:10am UTC](https://discourse.vtk.org/t/how-to-translate-the-only-one-axis-of-the-crosshair/13716 "2024-04-16T01:10:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wulicheng](https://discourse.vtk.org/user_avatar/discourse.vtk.org/wulicheng/32/1990_2.png) [@wulicheng](https://discourse.vtk.org/u/wulicheng)
#### Post date: [April 16, 2024, 1:10am UTC](https://discourse.vtk.org/t/how-to-translate-the-only-one-axis-of-the-crosshair/13716/1 "2024-04-16T01:10:32Z")

</div>

I want to achieve the following effect， but i do not have lean JS langague. Can someone give me any proposes?
