# How to get geometry.vertices?

**URL:** <https://discourse.threejs.org/t/how-to-get-geometry-vertices/24718>\
**Category:** Questions\
**Tags:** geometry\
**Created:** [March 24, 2021, 8:20am UTC](https://discourse.threejs.org/t/how-to-get-geometry-vertices/24718 "2021-03-24T08:20:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaopohaier](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/xiaopohaier/32/17274_2.png) [@xiaopohaier](https://discourse.threejs.org/u/xiaopohaier)\
**Post date:** [March 24, 2021, 8:20am UTC](https://discourse.threejs.org/t/how-to-get-geometry-vertices/24718/1 "2021-03-24T08:20:16Z")

</div>

code as follow:

const geometry = new THREE.CircleBufferGeometry(10, 64);  
geometry.vertices.shift();

but receive an error that geometry.vertices is undefined when running，so how can I fix it?

---

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [March 24, 2021, 8:31am UTC](https://discourse.threejs.org/t/how-to-get-geometry-vertices/24718/2 "2021-03-24T08:31:25Z")

</div>

Hi!  
If you want points in formation of circle, then use this one-liner:  
`let pts = new THREE.Path().absarc(0, 0, 10, 0, Math.PI * 2).getPoints(64);`;  
Example: [https://jsfiddle.net/prisoner849/4z36cwgh/](https://jsfiddle.net/prisoner849/4z36cwgh/)

Since r125, all standard/primitive geometries are buffer geometries, so there is no `.vertices` property, as they store vertex data in `.attribute.position` buffer attribute.
