InterfacesSpriteSheetSpacingDimensionsOn this pageSpriteSheetSpacingDimensions Specify sprite sheet spacing options, useful if your sprites are not tightly packed and have space between them.Index PropertiesmarginoriginOffsetProperties optionalmarginmargin?: Vector | { x?: number; y?: number }The margin between sprites. Default is (0, 0)optionaloriginOffsetoriginOffset?: Vector | { x?: number; y?: number }The starting point to offset and start slicing the sprite sheet from the top left of the image. Default is (0, 0)
Specify sprite sheet spacing options, useful if your sprites are not tightly packed and have space between them.