Judging by the fact that you disabled the z axis, I dare to assume that you are doing a 2D project. In this case, this will help you:
Judging by the fact that you disabled the z axis, I dare to assume that you are doing a 2D project. In this case, this will help you: