# Multiple image targets?

**URL:** <https://community.nianticspatial.com/t/multiple-image-targets/3858>\
**Category:** I'm Stuck\
**Tags:** guidance\
**Created:** [September 22, 2023, 9:58am UTC](https://community.nianticspatial.com/t/multiple-image-targets/3858 "2023-09-22T09:58:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominik](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dominik](https://community.nianticspatial.com/u/Dominik)\
**Post date:** [September 22, 2023, 9:58am UTC](https://community.nianticspatial.com/t/multiple-image-targets/3858/1 "2023-09-22T09:58:56Z")

</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: I was wondering is there a way to track multiple images with each image having its object (Image 1 has a cube and Image 2 has a sphere) while using Unity.

---

<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:** [September 22, 2023, 6:11pm UTC](https://community.nianticspatial.com/t/multiple-image-targets/3858/2 "2023-09-22T18:11:46Z")

</div>

Hi Dominik,

Yes you sure can! On our [Detecting Images](https://lightship.dev/docs/ardk/ar_world_tracking/detecting_images.html#using-image-anchors) page, we have a sample script that demonstrates how you would attach a prefab on top of a detected image in the camera feed. You could change what prefab is used for what image by using the `IARImageAnchor.ReferenceImage.Name`. Specific implementation details will vary based on your use case – but I encourage you to give the sample script a try and experiment with an if statement inside of the `AnchorsAdded` method to change what image gets what prefab. You might also have to tweak the `UpdatePlaneTransform` method to ensure that the game object is scaled correctly. The entire page is a great starting point if you’re unsure of any of the terminology or how to set everything up in Lightship.

Kind Regards,  
Maverick L.

---

<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/multiple-image-targets/3858/3 "2026-03-05T23:44:38Z")

</div>

Closed on March 5, 2026, 11:44pm UTC

Age
