# Beep()

> Plays system beep sound.

## Definition

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

```csharp
public static void Beep()
```

### Examples

```csharp
// Play beep sound on menu click

using UnityEditor;
using UnityEngine;

public class BeepExample
{
    [MenuItem("Examples/Play beep")]
    static void DoBeep()
    {
        EditorApplication.Beep();
    }
}
```
