Magnetic objects

Alright so here’s the thing, I was making a map with my friend and then something happened and now if I move an object little circles appear and when they get close to something else white arrows appear and if I let go of it, it drags it towards the other thing like a magnet. This can be helpful sometimes but mostly not. How do I turn it off?

While holding an object with LT press up on the D-pad(i think it was up, either up or down xd)