Suddenly, when grabbing I can only move objects in increments I don't know how it happened

I could only grab an object and move it in increments, as if I was holding &quot;control&quot;

Only grab/move/translate is affected, the other transformations like rotate and scale are normal.

If I hold control while grabbing, it'll inverse it and allow me to grab normally and smoothly.

Only the blender file I was in is affected, if I open other .blend files the problem won't be there.


Does anyone know how this happened and how to undo it?
You must have enabled the Snap tool by mistake. To fix it, just click on the magnet at the top of the viewport, or press ⇧ Shift + ↹ Tab