# Manipulating objects script doesn't work

**URL:** https://discourse.slicer.org/t/manipulating-objects-script-doesnt-work/14432
**Category:** Support
**Created:** [November 4, 2020, 5:28pm UTC](https://discourse.slicer.org/t/manipulating-objects-script-doesnt-work/14432 "2020-11-04T17:28:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)
#### Post date: [November 4, 2020, 5:28pm UTC](https://discourse.slicer.org/t/manipulating-objects-script-doesnt-work/14432/1 "2020-11-04T17:28:05Z")

</div>

The script is [this one](https://www.slicer.org/wiki/Documentation/4.10/ScriptRepository#Manipulating_objects_in_the_slice_viewer). The drawn circle should be updated in relation to the two fiducials position but after is created it doesn’t update with a modification to the position of the fiducials. I added this line logging.debug(‘function executes’) to UpdateSphere definition and it never executes

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [November 4, 2020, 5:31pm UTC](https://discourse.slicer.org/t/manipulating-objects-script-doesnt-work/14432/2 "2020-11-04T17:31:58Z")

</div>

You need to use the script repository examples that match the Slicer version. Your link points to 4.10 version and that works with Slicer-4.11. For the latest version, you need to use this link: [https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Manipulating\_objects\_in\_the\_slice\_viewer](https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Manipulating_objects_in_the_slice_viewer)
