Hold down your mouse and the purple block will follow your cursor but rounding the x and y positions to the nearest 40.
I started taking advantage of the ((round(?/?))*(?))) block of code that I first saw in an episode of griffpatch’s Geometry Dash tutorial. I used it in some of my games including this project. #all #snapping #grid #tutorials