# Change the size of interaction handles programmatically

**URL:** <https://discourse.slicer.org/t/change-the-size-of-interaction-handles-programmatically/24889>\
**Category:** Support\
**Created:** [August 23, 2022, 5:04pm UTC](https://discourse.slicer.org/t/change-the-size-of-interaction-handles-programmatically/24889 "2022-08-23T17:04:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [August 23, 2022, 5:04pm UTC](https://discourse.slicer.org/t/change-the-size-of-interaction-handles-programmatically/24889/1 "2022-08-23T17:04:06Z")

</div>

![Screen Shot 2022-08-24 at 3.02.57 AM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/8/1868f96b3ab0634e7bf1f8776f73b5c3a6e73e2e.jpeg)

Hello, would there be a way to reduce the size of these interaction handles via python programmatically?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [August 23, 2022, 5:05pm UTC](https://discourse.slicer.org/t/change-the-size-of-interaction-handles-programmatically/24889/2 "2022-08-23T17:05:56Z")

</div>

Better yet, would it be possible to make the interaction handles appear only  
when I click on the plane node?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [August 23, 2022, 5:10pm UTC](https://discourse.slicer.org/t/change-the-size-of-interaction-handles-programmatically/24889/3 "2022-08-23T17:10:20Z")

</div>

The code to change the interaction handle size is:

```python
getNode("P").GetDisplayNode().SetInteractionHandleScale(1.0)

```

> [@seanchoi0519](#):
>
> Better yet, would it be possible to make the interaction handles appear only  
> when I click on the plane node?

I’m currently working on a node “Focus” improvement that adds this exact feature. No ETA at this time.
