# Rulers

### Rulers

Rulers appear at the top and left hand side of the [Viewport](https://scenegroup.gitbook.io/cavalry/user-interface/menus/window-menu/viewport) and allow you to measure the pixel values of your [Composition](https://scenegroup.gitbook.io/cavalry/nodes/shapes/comp-node) as well as displaying the position of your cursor.

To show/ hide the rulers choose **View → Show Rulers** or use the use the shortcut `alt/option + r`.

### Guides

Guides are horizontal and vertical lines that you can place in the Viewport and use to position [Shapes](https://scenegroup.gitbook.io/cavalry/nodes/shapes).

To create a Guide simply hover your cursor over a [Ruler](#rulers) and `click + drag` into the [Viewport](https://scenegroup.gitbook.io/cavalry/user-interface/menus/window-menu/viewport). As you drag, a thin red line will appear along with a number indicating its X or Y position. Release the mouse to place the Guide.

To remove Guides just `click + drag` them back over a Ruler.&#x20;

Use the **View → Show Guides** menu option or `cmd/ctrl + ;` to show/ hide Guides.&#x20;

You can snap to Guides by enabling **Ruler Guide Snapping** in the [Viewport Snapping](https://scenegroup.gitbook.io/cavalry/user-interface/menus/window-menu/viewport/..#snapping) options.
