I have made a square and inserted a position keyframe and holding shift I drag to right and got a straight path. When I want to raise up or make an "L" shape by holding shift it does not make a straight line this time. It creates a curved shape instead.
How can I have a straight line path? Which key do I have to press to get a straight line?