LM_Menu:FirstChecked()

Version added: before 9.5

Returns the id of the first checked command in the menu (starting at 0 for the first item)

Return type (int32): the id of the first checked command in the menu