Looping Grid Drawing

If I have a 256, 240 screen, where the camera can move around freely. Using the Draw tool, how can I create a 16x16 grid that loops with the camera?

Example of what I want: Tile Map