# allowDuplicateNames

> Allow the menu to have multiple items with the same name.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool allowDuplicateNames { get; set; }
```
