# Custom plane detection

**URL:** <https://community.nianticspatial.com/t/custom-plane-detection/3947>\
**Category:** I'm Stuck\
**Created:** [October 27, 2023, 7:17pm UTC](https://community.nianticspatial.com/t/custom-plane-detection/3947 "2023-10-27T19:17:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Lummen](https://avatars.discourse-cdn.com/v4/letter/t/3da27b/32.png) [@Todd\_Lummen](https://community.nianticspatial.com/u/Todd_Lummen)\
**Post date:** [October 27, 2023, 7:17pm UTC](https://community.nianticspatial.com/t/custom-plane-detection/3947/1 "2023-10-27T19:17:54Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : Lightship Maps / Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS / Scanning Framework
- **Device type & OS version** : Android / iOS / Other Ex. iPhone 8+ on iOS 13
- **Host machine & OS version** : Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
- **Issue Environment** : Unity Remote / Unity Mock / On Device / Dev Portal
- **Xcode version** :
- **ARDK version** :
- **Unity version** :

Description of the issue:

How can I get detected plane? I want to spawn an ar object when the plane is detected without touch input

---

<div class="post-metadata">

**Author:** ![Jesus\_Niantic](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@Jesus\_Niantic](https://community.nianticspatial.com/u/Jesus_Niantic)\
**Post date:** [October 28, 2023, 12:13am UTC](https://community.nianticspatial.com/t/custom-plane-detection/3947/2 "2023-10-28T00:13:54Z")

</div>

Hi Todd!

I believe I answered your question on Discord already. I’ll paste the response from over there right here.

Have a look at this part of our documentation for how to detect planes: [https://lightship.dev/docs/ardk/ar\_world\_tracking/plane\_detection.html](https://lightship.dev/docs/ardk/ar_world_tracking/plane_detection.html)

You can see that when Anchors are being added, they are being referenced as an IARPlaneAnchor which has the following fields: [https://lightship.dev/docs/ardk/api-documentation/interface\_Niantic\_ARDK\_AR\_Anchors\_IARPlaneAnchor.html#index-0](https://lightship.dev/docs/ardk/api-documentation/interface_Niantic_ARDK_AR_Anchors_IARPlaneAnchor.html#index-0)

A plane anchor contains a Vector3 center and Vector3 extent which an estimation of how long and wide it is. Using these two you can either place content without the need of a user’s touch right in the center of the plane or using the approximations in the extent, place an object somewhere random

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:44pm UTC](https://community.nianticspatial.com/t/custom-plane-detection/3947/3 "2026-03-05T23:44:39Z")

</div>

Age
