# $runIndex Contains the index of the current run of the node. ```typescript // Returns all items the node "IF" outputs (index: 0 which is Output "true" of the same run as current node) const allItems = $items("IF", 0, $runIndex); ```