Help me gettting vertices of a ribbon

i have a ribbon mesh. please help me selecting the vertices on clicking

You can get the mesh position data using:


Then, you have to check the projected coordinate of these positions with the current mouse position.

There are many PG on this forum that you can find with a few search. When searching for select vertices, I’ve found this 1 for example :

1 Like

we need a coordinat with value of (x,y,z) for each vertices in this case. here we are getting a value of float32Array of 66 length

ribbon has 22 vertices. 3 float per vertex this gives a float array of 66 elements.