# Get Component type from getChildren() API

**URL:** <https://forum.inductiveautomation.com/t/get-component-type-from-getchildren-api/105721>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [April 30, 2025, 8:59am UTC](https://forum.inductiveautomation.com/t/get-component-type-from-getchildren-api/105721 "2025-04-30T08:59:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 30, 2025, 8:59am UTC](https://forum.inductiveautomation.com/t/get-component-type-from-getchildren-api/105721/1 "2025-04-30T08:59:35Z")

</div>

I want to get perspective component type from .getChildren() API but it seems this is not available.  
Is there any way to do this?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 30, 2025, 3:20pm UTC](https://forum.inductiveautomation.com/t/get-component-type-from-getchildren-api/105721/2 "2025-04-30T15:20:59Z")

</div>

Not anything supported, at least.

> [@\[IGN-6759\]Is there a way to obtain the type of a component through Python Script in Perspective?](https://forum.inductiveautomation.com/t/ign-6759-is-there-a-way-to-obtain-the-type-of-a-component-through-python-script-in-perspective/65497/4):
>
> We should probably add this to the scripting 'wrapper' for Components. I don't really see any reason to obscure this information.
