Have you possibly accidentally activated some restrict function from Snap tool bar?
See
https://librecad.readthedocs.io/en/latest/ref/snaps.html?highlight=restrict#snapping
investing less than half an hour into Search function can save hours or days of waiting for a solution