You searched for: “ambulatory automatism
ambulatory automatism (s) (noun), ambulatory automatisms (pl)
Aimless wandering or moving around: The ambulatory automatism of a person includes the performance of mechanical acts without any conscious awareness of doing such movements.

During ambulatory automatisms, epileptic patients walk around and are able to carry out some functions without being clearly conscious of either themselves or their surroundings.