# Editor.EditorEvent.ShowContextMenuEvent

Event args for [Editor.EditorEvent.ISceneView.ShowContextMenu](/api/Editor.EditorEvent.ISceneView/ShowContextMenu) events.

- Kind: class
- Assembly: `Sandbox.Tools`
- Modifiers: sealed

## Constructors

- [`ShowContextMenuEvent`](/api/Editor.EditorEvent.ShowContextMenuEvent/.ctor)

## Properties

- [`CursorRay`](/api/Editor.EditorEvent.ShowContextMenuEvent/CursorRay): Cursor ray when right-click was pressed.
- [`Menu`](/api/Editor.EditorEvent.ShowContextMenuEvent/Menu): Context menu being opened. Feel free to add options to it in your handler.
- [`Session`](/api/Editor.EditorEvent.ShowContextMenuEvent/Session): Scene editor session that the context menu is being opened for.
- [`Trace`](/api/Editor.EditorEvent.ShowContextMenuEvent/Trace): Trace result if we hit an object in the scene when right-clicking.

## Methods

- [`<Clone>$`](/api/Editor.EditorEvent.ShowContextMenuEvent/<Clone>$)
- [`Deconstruct`](/api/Editor.EditorEvent.ShowContextMenuEvent/Deconstruct)
