The cell cortex, also known as the actin cortex, cortical cytoskeleton or actomyosin cortex, is a specialized thin layer of cross-linked actomyosins attached to the cell membrane. In protists this part of the cytoskeleton is also known as the ectoplasm, the outermost part of the cytoplasm, contrasted with endoplasm. It functions as a modulator of membrane behavior and cell surface properties. In most eukaryotic cells lacking a cell wall, the cortex is an actin-rich network consisting of F-actin filaments, myosin motors, and actin-binding proteins. The actomyosin cortex is attached to the cell membrane via membrane-anchoring proteins called ERM proteins that play a central role in cell shape control. The protein constituents of the cortex undergo rapid turnover, making the cortex both mechanically rigid and highly plastic, two properties essential to its function. The mesh size of the cortex varies considerably but is typically in the 100–200 nanometres range.