> For the complete documentation index, see [llms.txt](https://flora.magneticarcade.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flora.magneticarcade.com/getting-started/editor-context.md).

# Edit Mode

Provides specialized selection and manipulation tools for instances.

Flora's [editor context](https://docs.unity3d.com/6000.1/Documentation/ScriptReference/EditorTools.EditorToolContext.html) lets you edit container instances and terrain trees without individual GameObjects.

## Available actions

* Select instances
* Move or rotate instances in the Scene view
* Delete instances

Terrain editing requires Flora to be enabled for that Terrain.

## Activate the context

1. Look for the overlay toggle above the **Scene View** toolbar.
2. Click the icon with **three stacked dots** to enable the context.

<figure><img src="https://2882982566-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fyo4B7EVXffipTxnJzee6%2Fuploads%2Fgit-blob-746d5d1812de9c4e58c167162f6be70f9e535ffb%2Fscene-view-selection.webp?alt=media" alt="Scene View overlay toggle" width="563"><figcaption></figcaption></figure>

> If picking fails, ensure `ScenePickingPass` includes:
>
> ```hlsl
> #pragma target 4.5
> #pragma multi_compile _ DOTS_INSTANCING_ON
> ```
>
> The fragment shader must return `unity_SelectionID`, not `_SelectionID`.
