# Merge vertices

> Use this feature to merge vertices that have the same position but different attributes.

API function: [algo.mergeVertices](/asset-transformer-sdk/2026.4/api/python/algo_functions.md#mergevertices)

The tolerance parameter is used to identify vertices to be merged. Candidates are typically the non-manifold borders of a mesh or hard edges.

This feature recreates connectivity information for vertices that match the specified tolerance, at the identified locations.

> **Important:**
>
> You must use this feature when creating meshes from meshes with unconnected vertices. Use a very small tolerance. Otherwise, the features that require connectivity information, such as decimation, don't work correctly.

This feature is part of the [repair mesh](repairmeshes) algorithm.
