KeyValues.Rewind Method

Sets the position back to the top node and clears the entire node traversal history (by default). This can be used instead of looping KvGoBack() if recursive iteration is not important.

void Rewind(bool clearHistory)

Parameters

bool clearHistory

If true, the entire node traversal stack is cleared. If false, this will add to the traversal stack.