![example picture for get_child_index()](/images/reference/Py5Shape_get_child_index_0.png)
```python
def setup():
us_map = py5.load_shape("us_map.svg")
for child in us_map.get_children():
idx = us_map.get_child_index(child)
py5.println(child.get_name(), idx)
py5.background(192)
py5.scale(0.1)
py5.translate(25, 225)
py5.shape(us_map, 0, 0)
```