A word meaning "in the direction toward or away from one's self"

Because I'm thinking of a certain spatial orientation, consider an example at hand. You are sitting at your keyboard which is flat on your desk. The keys ASDFJKL are arranged laterally, whereas the keys MKI8 are arranged [word goes here].

"Longitudinally" in this context becomes confusing, because it appears to mean the same direction as "laterally". "Laterally" seems most apt as I've used it, because it's used in regards to the orientation of the object (side to side). "Longitudinally" appears apt only because of the aspect ratio of the object (along the long dimension).

Anatomical terms and simple antonyms such as "medially" seem to suggest a location more so than a direction. Other suggested antonyms like "perpendicularly" or "crosswise" are ambiguous.


The medical term for front-to-back is sagittal.

Sagittal: A vertical plane passing through the standing body from front to back. The mid-sagittal, or median plane, splits the body into left and right halves.

— WebMD

But, however apt the word sagittally, "front-to-back" is (as opposed to laterally, "side-to-side"), it's not likely to be understood outside medical circles.