# How can I loop through all the objects inside a container in perspective

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-loop-through-all-the-objects-inside-a-container-in-perspective/52166>\
**Category:** Ignition Early Access\
**Created:** [October 20, 2021, 3:40pm UTC](https://forum.inductiveautomation.com/t/how-can-i-loop-through-all-the-objects-inside-a-container-in-perspective/52166 "2021-10-20T15:40:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 20, 2021, 4:43pm UTC](https://forum.inductiveautomation.com/t/how-can-i-loop-through-all-the-objects-inside-a-container-in-perspective/52166/3 "2021-10-20T16:43:23Z")

</div>

> [@Iterate through all components programatically in Perspective?](https://forum.inductiveautomation.com/t/iterate-through-all-components-programatically-in-perspective/32938):
>
> I was wondering if there's a way to iterate through all components on screen for a perspective view? I was trying to use getRootContainer and getChildren but it doesn't seem as straight forward as I thought/as it was for Vision. Any know how this is done?

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-can-i-loop-through-all-the-objects-inside-a-container-in-perspective/52166)._
