Top expressed genes per cluster

Dear all,
is there any function to return me the top expressed genes in a certain grouping e.g. per each leiden clusters.
The only function i found was the highest express gene plot that plot highest expressions across all the cells.

Thank you so much!