I think I fixed the wall collision bug. The script I added was: go to x: (32 * (round (x position / 32))) y: (32 * (round (y position / 32)))
Thanks to pizzataco213 for the original project squares. Please tell if this is useful.