# Resetting a PShape

**URL:** <https://discourse.processing.org/t/resetting-a-pshape/31866>\
**Category:** Coding Questions\
**Created:** [August 23, 2021, 7:57pm UTC](https://discourse.processing.org/t/resetting-a-pshape/31866 "2021-08-23T19:57:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [September 16, 2021, 6:08pm UTC](https://discourse.processing.org/t/resetting-a-pshape/31866/2 "2021-09-16T18:08:22Z")

</div>

@SNICKRS - were you able to resolve this problem?

I haven’t examined this code closely, but multiple things about the PShape design are not meant to be edited. If you need to edit a PShape, the most reliable procedure is to create a new PShape and copy the contents over, skipping the things you want to delete and adding any extras. There are a number of other approaches as well:

Past related discussions:

- [Inserting a vertex into a PShape - #2 by figraham](https://discourse.processing.org/t/inserting-a-vertex-into-a-pshape/6620/2)
- [https://forum.processing.org/two/discussion/18064/remove-a-vertex-from-pshape](https://forum.processing.org/two/discussion/18064/remove-a-vertex-from-pshape)

---

_[View the full topic](https://discourse.processing.org/t/resetting-a-pshape/31866)._
