# Model Interaction

**URL:** <https://discourse.slicer.org/t/model-interaction/40792>\
**Category:** Development\
**Tags:** python, interaction\
**Created:** [December 18, 2024, 10:30pm UTC](https://discourse.slicer.org/t/model-interaction/40792 "2024-12-18T22:30:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnWick](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/johnwick/32/80475_2.png) [@JohnWick](https://discourse.slicer.org/u/JohnWick)\
**Post date:** [December 18, 2024, 10:30pm UTC](https://discourse.slicer.org/t/model-interaction/40792/1 "2024-12-18T22:30:56Z")

</div>

Hi Everyone,

I would like to enable 3D Interaction for a model using Python. I know that in the scene, I can toggle the interaction by right-clicking on the model’s eye icon. However, I would like to create an on/off checkbox to control this functionality programmatically.

Any guidance or suggestions would be greatly appreciated!

Thank you for your help!  
Best regards,  
John

 ![pic3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/4/f4d3f38797a6a0d9c006119e56e7f7a88c6450e9.png)
