How to get the index of a child node in a parent node

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Titox

How do I get the index of a child node in a parent node eg (0,1,2,3,4,5) etc.

:bust_in_silhouette: Reply From: Eric Ellingson

Documentation is your friend: Node — Godot Engine (3.1) documentation in English

node.get_index()