# How can I get the widget called "vtkMRMLSliceIntersectionWidget" in python?

**URL:** <https://discourse.slicer.org/t/how-can-i-get-the-widget-called-vtkmrmlsliceintersectionwidget-in-python/24661>\
**Category:** Development\
**Tags:** python\
**Created:** [August 6, 2022, 2:11am UTC](https://discourse.slicer.org/t/how-can-i-get-the-widget-called-vtkmrmlsliceintersectionwidget-in-python/24661 "2022-08-06T02:11:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang\_ming](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zhang_ming/32/15790_2.png) [@zhang\_ming](https://discourse.slicer.org/u/zhang_ming)\
**Post date:** [August 6, 2022, 2:11am UTC](https://discourse.slicer.org/t/how-can-i-get-the-widget-called-vtkmrmlsliceintersectionwidget-in-python/24661/1 "2022-08-06T02:11:28Z")

</div>

```auto
sliceViewLabel = "Red"
sliceViewWidget = slicer.app.layoutManager().sliceWidget(sliceViewLabel)
displayableManager = sliceViewWidget.sliceView().displayableManagerByClassName(" **vtkMRMLScalarBarDisplayableManager**")
w = displayableManager.GetWindowLevelWidget()

```

as showed the code to get window&level ViewWidget is available in python.  
but when I try to get **vtkMRMLSliceIntersectionWidget** , I can’t find api in doc, can any help me? when this step finished, the left mouse clice\_and\_drag to shift between 2d pic will be finished
