A prosthesis with controlled linear motion and methods for adapting the device to multiple amputation points are described. The device is designed to shorten during the swing phase to prevent striking the surface of the ground, and extend at the beginning and end of the swing to provide forward propulsion and begin to transfer bodyweight load from the opposing leg. The prosthesis includes an actuator to provide linear motion, a battery, sensors, and a controller.