You need to type in the length as you draw, in either the Tracker or the coordinate box (unless you are snapping to known points / guidelines).
If you download and do the tutorials, you will find the answer to this and most other complete beginner questions. Do not hope to learn how to do things by just playing around - not going to happen.
One of the forum moderators
AC 28 USA and earlier • macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB