Studio › Manual › Sprites and images

Origin and collision mask

Origin is the point the sprite is drawn and turned about. Pick one of the nine presets in the inspector (or Art > Sprite > Origin), type X and Y, or drag the ring marker on the canvas in Sprite mode. Presets follow the sprite when its size changes; a custom point stays where it is. Art > Sprite > Show Origin (⌃⌘O) hides the marker.

The collision mask is drawn in red over the frame:

  • Mode: Automatic measures the box around every frame's pixels whose alpha is above the tolerance (measured again whenever pixels change), Full Image uses the whole sprite, Manual keeps your own box.
  • Type: Precise, Rectangle, Ellipse, Diamond, Precise Per Frame or Rotated Rectangle.
  • Tolerance (0–255): pixels at or below this alpha do not count.
  • Box: type left, top, right and bottom, or drag the mask's edges on the canvas; either switches the mode to Manual.

Art > Sprite > Show Collision Mask (⌃⌘M) hides the overlay.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.