[SOLVED]Grid movement on a tower defence

So since making a tower defence witha tile sytem, but it’s being quite a headache to figured how snap grid extension system works. Tried to see a example but it didn’t theache me a lot, plu the fact that is not everywhere on the screen (indicaded by the green boxes), so it’s extra hard to do it but probaly i can do use a x position codition to limit the grid (i guess).