Prokaryotic flagellum. Unlike an eukaryote flagellum, the motor of the prokaryotic flagellum is a basal apparatus embedded in the plasma membrane. A curved hook turns in the basal apparatus, moving the attached filament, which is composed of the protein flagellin. This allows the cell to responding to a stimulus in a directional movement called taxis.