# Is it possible to mix vertex() and curveVertex() in one shape yet?

**URL:** <https://discourse.processing.org/t/is-it-possible-to-mix-vertex-and-curvevertex-in-one-shape-yet/3830>\
**Category:** Coding Questions\
**Created:** [September 25, 2018, 2:34pm UTC](https://discourse.processing.org/t/is-it-possible-to-mix-vertex-and-curvevertex-in-one-shape-yet/3830 "2018-09-25T14:34:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamherst](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@adamherst](https://discourse.processing.org/u/adamherst)\
**Post date:** [September 25, 2018, 2:34pm UTC](https://discourse.processing.org/t/is-it-possible-to-mix-vertex-and-curvevertex-in-one-shape-yet/3830/1 "2018-09-25T14:34:29Z")

</div>

I’ve found an old discussion saying that this is possible in processing but wasn’t possible in p5 ([https://github.com/processing/p5.js/issues/906](https://github.com/processing/p5.js/issues/906)).

I also think I found a discussion saying that a patch for this had been submitted [https://github.com/processing/p5.js/pull/1185](https://github.com/processing/p5.js/pull/1185).

However, when I try to create a mixed shape, all the vertex() statements are interpreted as curveVertex() statements. Any help is appreciated.

Thanks,

Adam
