title: How to create json rectangle data from a Photoshop script
body: <p>I have a photoshop script that is cutting up layers of a PSD file into tiles (it's for a parallax game engine).  This works well, but now I want to be able to create regions (rectangles) in the PSD that can be detected by the script and exported as json data.</p>
  
  <p>Can anyone suggest a good way in Photoshop to a) visually create this information in the PSD and b) the script that would write out this data?</p>
  
  <p>Any help would be greatly appreciated - this would remove about 3 manual, error prone steps from our current process if we can solve it...</p>