Opinions vary.
I see the temporal lobe as the top of the WHAT/WHERE sensory hierarchy before being presented to the EC/HC. At that general point in the hierarchy (temporal lobe) the cortical projections are sent to various sub-cortical structures.
There is a top-down motor hierarchy that originate with the sub-cortical projections to the prefrontal cortex and after several hops through frontal cortical maps, terminating in the motor cortex along the central sulcus.
The two hierarchies are broadly interconnected, with a prominent example being the two speech centers Broca’s area in the prefrontal cortex and Wernicke’s area in the posterior temporal lobe.
The motor output and sensory input areas along the central sulcus are very heavily interconnected.
So we have an ascending and descending hierarchies, connected at the top through the subcortical structures and at the bottom along the central sulcus - somewhat like the ouroboros - a circular structure.
Deciding what is the start and end presents some definition difficulties but I chose to put the boss, the sub-cortex, at the top of the sensory hierarchy. I chose to put the output driving the body as the terminus of the sense-act chain. This is, after all, why nature puts a brain in control of the body.