Get extended component with nested component name

for example, I have a base component that many different components will extend from the same component.

I want to get any type of components that are extended from the base component using getComponent or any other function that can get that compent.

Is that possible?

Thanks

You can use Node.getComponents

cool it works, thanks!