---
name: "BIS_fnc_returnChildren"
type: function
status: ok
groups: ["Configs"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_returnChildren
revid: 376418
updated: 2025-10-11T23:07:20Z
---

# BIS_fnc_returnChildren

*Function · Configs · Arma 3 v1.00*

## Description

Returns all subclasses within given class.

## Syntax

```sqf
[config, depth, lastTier] call BIS_fnc_returnChildren
```

**Parameters:**

- `config`: [Config](../topics/Config.md) - class which is searched
- `depth`: [Number](../topics/Number.md) - (Optional, default 0) depth, (0 = return only subclasses, 1 = return subclasses of subclasses, and so on...
- `allTiers`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) [false](../commands/false.md) to return only the last one, [true](../commands/true.md) to return all

**Returns:** [Array](../topics/Array.md) - of [Config](../topics/Config.md)s

## Examples

### Example 1

```sqf
[configFile >> "CfgFunctions", 2] call BIS_fnc_returnChildren; // returns config paths of all functions
```

## See also

[BIS_fnc_returnParents](../functions/BIS_fnc_returnParents.md) · [configClasses](../commands/configClasses.md)

<sub>Source: [BI Community Wiki — BIS fnc returnChildren](https://community.bistudio.com/wiki/BIS_fnc_returnChildren) (revision 376418).</sub>
