I had this problem too...
I just made a button and a text box. The button cycles thru the groups turning each one red and displaying the group number in the textbox. I just write those down and then I know.
(variable GroupTrack is global of course)
Private Sub Command3_Click()
b1 = MatFactory.GetMaterialByName("red")
b2 = MatFactory.GetMaterialByName("normal")
s1 = Character1.GetGroupCount
Character1.SetMaterial b1, GroupTrack
If GroupTrack > 0 Then Character1.SetMaterial b2, GroupTrack - 1
GroupTrack = GroupTrack + 1
Text1.Text = GroupTrack - 1
If GroupTrack = s1 Then GroupTrack = 0
End Sub