> For the complete documentation index, see [llms.txt](https://bkortbus.gitbook.io/unreal-python-recipe-book/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bkortbus.gitbook.io/unreal-python-recipe-book/editor-menus/getting-a-reference-to-a-menu.md).

# Getting a Reference to a Menu

How to get a handle on an Editor Menu path

In order to add to an existing menu we first need a reference to it! With a valid menu path we can use the ToolMenu's [find\_menu()](https://docs.unrealengine.com/5.2/en-US/PythonAPI/class/ToolMenus.html#unreal.ToolMenus.find_menu) function to get a Python reference to it:

```python
unreal_tool_menus = unreal.ToolMenus.get()
menu = unreal_tool_menus.find_menu("LevelEditor.MainMenu")
```
