# acceptedRename

> Is true if the rename is accepted.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.IMGUI.Controls](/engine/6000.0/script-reference/unityeditor/imgui/controls.md)
* **Assembly:** UnityEditor

```csharp
public bool acceptedRename
```

### Remarks

The rename is set as accepted when the user ends rename with Return/Enter or the rename loses focus. The rename is rejected if the user presses Esc while editing.
