No they can be either.
It all depends on the code they are fed.

Mach is capable of 3D linear moves.

.