setSpacing(margin, spacing)
Sets tile spacing and margins.
Parameters
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
| margin | integer | <optional> | 0 | The margin around the tiles in the sheet (in pixels). | 
| spacing | integer | <optional> | 0 | The spacing between the tiles in the sheet (in pixels). | 
- Source code: tilemap/Tileset.js (Line 185)
 
          
Please login to continue.