# Dynamically changing the shape of a shape/path object

**URL:** <https://forum.inductiveautomation.com/t/dynamically-changing-the-shape-of-a-shape-path-object/18110>\
**Category:** Ignition\
**Created:** [May 21, 2018, 7:39pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-the-shape-of-a-shape-path-object/18110 "2018-05-21T19:39:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [May 21, 2018, 7:39pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-the-shape-of-a-shape-path-object/18110/1 "2018-05-21T19:39:02Z")

</div>

I’m wondering if it is possible change the shape of a PathBasedVisionShape object, which is created when you use the line tool to create a shape. I’m trying to make a map of our facility with zones that could be any shape, with some mouse-hover behavior. I’ve tried doing this with a template canvas full of templates with paintable canvases and it works alright, but slow and causes some other issues. I’m thinking the best way is to programmatically edit a polygon shape like pathbasedvisionshape. But I don’t see anything in the documentation about setting the shape, only getting it. I’m hoping someone here has a way around that.

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [May 21, 2018, 7:51pm UTC](https://forum.inductiveautomation.com/t/dynamically-changing-the-shape-of-a-shape-path-object/18110/2 "2018-05-21T19:51:26Z")

</div>

Looks like its just called something unexpected - alterDelegate. Works just as I had hoped as far as changing the shape is concerned! Heres hoping it’ll fix my other problems here.
