# Editor.MapDoc.MapMesh.GetFaces

```csharp
IReadOnlyList<MapMeshFace> GetFaces()
```

Every face of the mesh, in world space. A face's [Editor.MapDoc.MapMeshFace.Index](/api/Editor.MapDoc.MapMeshFace/Index) stays valid
until the mesh's topology changes, for `M:Editor.MapDoc.MapMesh.SetFaceMaterial(System.Collections.Generic.IEnumerable{System.Int32},Sandbox.Material)`.

### Returns

`IReadOnlyList<MapMeshFace>`

Declared in [Editor.MapDoc.MapMesh](/api/Editor.MapDoc.MapMesh).
Assembly: `Sandbox.Tools`.
