# AutomatedAction

> Use this setting to prevent a method from showing any dialog boxes to the user, and to prevent it recording to the undo history.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
AutomatedAction = 0
```

### Remarks

You can only use this setting with methods that accept an [InteractionMode](/engine/6000.3/script-reference/unityeditor/interactionmode.md) parameter.
