Select object type WITHIN a selection

Figma, please copy this wonderful feature from Miro.