The part of the cortex that responds mostly to the sensory signals that lead to a movement is the prefrontal cortex (PFC)
It is the cerebral cortex which covers the front part of the frontal lobe and manages complex processes like reason, logic, problem solving, planning, and memory.