I was trying to read and remake the construct 3 templates.I was looking into the Turret defense template and i came across this formula for placing turrets.
((Touch.X - 16) / 32) * 32 + 16
Are there any more resources to understand this formula?Any help is appreciated :)