# Flat Surface Identifier

Use the **Flat Surface Identifier** editor tool to highlight potential areas to safely place fiducial markers for on-site AR content localization.

Ideally, markers should be placed on level surfaces so that the pose data remains accurate for faraway content.

Note: This tool assumes that the scan is accurate to reality.

## Usage

1. [Import a scan](/unity-sdk/core/scans/editor.md) into your scene.

<figure><img src="/files/pSlfQKZcaXF979gMEna7" alt=""><figcaption><p>Example scan of the MoMA lobby loaded into the scene.</p></figcaption></figure>

2. Open the editor window via `MeshMap > Tools > Flat Surface Identifier`.
3. Drag and drop the `MeshRenderer` of your scan `GameObject` into the tool's "Mesh Renderer" field.
4. "Use Shared Material" is true by default. Set to false if you have multiple instances of this `Material` in your project and want to avoid potential global side-effects.
5. Click "Calculate".
6. Flat surfaces are highlighted in green.
7. The material's shader will be reset when you close the window.

<figure><img src="/files/fy60s4FzwK8q9mrsY03o" alt=""><figcaption><p>Example of the Flat Surface Identifier tool highlighting the flat surfaces of the MoMA lobby in green.</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.meshmap.com/unity-sdk/core/tools/flat-surface-identifier.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
