Welcome luigic!
Only X axis? Then it's 1D

see
https://forum.librecad.org/Imovable-X-axis-tp5717898p5717900.htmlin your case presumably restrict horizontal
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution