Ruler Tool

Shortcut: K

The Ruler tool measures distances and angles between two points on your canvas. Use it to ensure precise proportions, check sprite dimensions, or verify alignment.

Basic Usage

Press K , or pick Ruler from the view button at the top of the toolbar (shared with Pan, Zoom and Rotate View). Press on the starting point and drag to the end point to measure. It is an advanced tool, so it is hidden in Simple mode.

  1. Click to set the start point
  2. Drag to the end point
  3. Read the measurement in the readout that follows your cursor
  4. Release to clear the measurement
Ruler tool measuring a diagonal on the canvas with a floating distance and angle readout
While you drag, a floating readout shows the live distance and angle.

Measurements Displayed

While you drag, a small readout sits next to the cursor. It carries two numbers:

MeasurementDescription
DistanceManhattan distance in pixels (|dX| + |dY| + 1), counting orthogonal pixel steps and both end pixels
AngleAngle in degrees (0 to 360, to one decimal), measured from pointing right and turning clockwise on screen, so a line drawn up and to the right reads above 270°

Because the distance counts horizontal plus vertical steps, a diagonal reads longer than its straight-line length: a 45° line that ends 10 pixels right of and 10 pixels below its start reads 21px. For a straight run it is the number of pixels the run covers, ends included.

The ruler line itself switches between black and white pixel by pixel so it stays visible on any artwork.

Angle Snapping

Hold Shift while dragging to snap the ruler to the same pixel-perfect angles as the Line tool: horizontal, vertical, 45° and the isometric 26.565° and 63.435° slopes. Useful when checking diagonals or isometric alignment.

Common Uses

  • Checking dimensions: Measure sprite width and height
  • Verifying proportions: Ensure consistent sizing across elements
  • Angle verification: Check if lines are at specific angles
  • Spacing measurement: Measure gaps between objects
  • Reference checking: Compare measurements to reference images

Tips

  • The ruler never changes any pixels; it only measures.
  • Use with Grid Settings for precise alignment work.
  • For creating straight lines, use the Line tool instead.
  • Zoom in for more precise start and end point placement.