# AddClipboardEntriesTo

> Adds clipboard operations to the Scene view context menu.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Actions](/engine/6000.5/script-reference/unityeditor/actions.md)
* **Assembly:** UnityEditor.CoreModule

## AddClipboardEntriesTo(DropdownMenu)

Adds clipboard operations to the Scene view context menu.

```csharp
public static void AddClipboardEntriesTo(DropdownMenu menu)
```

### Parameters

**** (\[DropdownMenu]\(/engine/6000.5/script-reference/unityengine/uielements/dropdownmenu)): The Scene view context menu to add a clipboard operations to.

### Remarks

By default, the Cut, Copy, Duplicate, and Delete operations are greyed out in the Scene view context menu if you do not have a GameObject selected in the Scene. The Paste operation is greyed out if the clipboard is empty. The method overload provides additional control over whether these operations are greyed out.

## AddClipboardEntriesTo(DropdownMenu, bool, bool, bool, bool, bool)

Adds clipboard operations to the Scene view context menu.

```csharp
public static void AddClipboardEntriesTo(DropdownMenu menu, bool cutEnabled, bool copyEnabled, bool pasteEnabled, bool duplicateEnabled, bool deleteEnabled)
```

### Parameters

**** (\[DropdownMenu]\(/engine/6000.5/script-reference/unityengine/uielements/dropdownmenu)): The Scene view context menu to add a clipboard operations to.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to enable the Cut operation in the Scene view context menu. When Cut is disabled, it is greyed out in the Scene view context menu.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to enable the Copy operation in the Scene view context menu. If Copy is disabled, it is greyed out in the Scene view context menu.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to enable the Paste operation in the Scene view context menu. If Paste is disabled, it is greyed out in the Scene view context menu.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to enable the Duplicate operation in the Scene view context menu. If Duplicate is disabled, it is greyed out in the Scene view context menu.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Whether to enable the Delete operation in the Scene view context menu. If Delete is disabled, it is greyed out in the Scene view context menu.

### Remarks

By default, the Cut, Copy, Duplicate, and Delete operations are greyed out in the Scene view context menu if you do not have a GameObject selected in the Scene. The Paste operation is greyed out if the clipboard is empty. The method overload provides additional control over whether these operations are greyed out.
