A couple of strategies are there to build various patterns:
1. Start on the E string on any note of the scale. Keep this fret in your mind . Move up that string playing notes from the scale until the next note would be more than 4 frets from home position (count the home position as fret 1), and place that next note on a higher string. Continue it until you run out of strings.
With this approach you can get standard scale boxes - boxes are...