Studies of neural population dynamics of cell activity from monkey motor areas during reaching show that it mostly represents the generation and timing of motor behavior. We compared neural dynamics in dorsal premotor cortex (PMd) during the performance of a visuomotor task executed under different contexts and during an observation task. In the former, monkeys moved a visual cursor in different directions by applying isometric forces on a joystick, either individually or in cooperation with a conspecific. In the latter, they observed the cursor’s motion guided by the partner. We found that neural dynamics were shared across isometric and observation tasks and they discriminated directions more accurately than task types, suggesting that PMd encodes spatial aspects independently from specific behavioral demands. Therefore, the largest components of population dynamics might reflect higher cognitive processes, such as the representation of action goals or outcomes, rather than mechanisms strictly confined to motor functions.