How to update polygon points?

In the documentation, says that it is possible to update polygon points, but I couldn’t find how to do this.

Can anyone help me?

An alternative way of creating polygons Create Parametric Shapes - Babylon.js Documentation

Using this alternative, I may be able to update.

But I also would like to extrude the polygon.

I will look at the extrude Polygon function

For some reason the updatable:true, doesn’t work, when I use your suggestion.

I made this playground, where I could replicate the error, there are 2 meshes instead of one.

Only way is to dispose and create a new polygon

Reason, polygonMeshBuilder which createPolygon uses creates the vertices of the mesh from the passed points. The created mesh is updatable in that you can change values in the vertex buffer but not by giving new corner points.