Hidden Components / Elements

Hi, having a real headache understand something in Figma.

How can I make something always appear on top of EVERYTHING. For example I have a page layout with header / content / footer. In the head I have an icon component, when clicked bring down a drop down menu, but that menu is hidden and doesn’t show.

How can I make this element always appear above the rest? Thanks.