Skip to main content

SpriteSheetSpacingDimensions

Specify sprite sheet spacing options, useful if your sprites are not tightly packed and have space between them.

Index

Properties

optionalmargin

margin?: Vector | { x?: number; y?: number }

The margin between sprites. Default is (0, 0)

optionaloriginOffset

originOffset?: 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)

Page Options