> For the complete documentation index, see [llms.txt](https://docs.meshmap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meshmap.com/unity-sdk/core/tools/flat-surface-identifier.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
