Note: This article addresses Inspect for Studio only. To learn more about using Inspect with Sketch and Photoshop, check out the Inspect for Craft Sync Getting Started Guide.
Inspect simplifies the design-to-development process. With Inspect your team can access measurements, colors, and assets for desktop and mobile prototypes. Get pixel-perfect comps, export assets, and generate real code for any design element.
Enjoy an easier, more accurate, and less frustrating way to bring designers and developers together. No more long email threads and endless rounds of revision.
To access Inspect for your prototype:
- After publishing your Studio prototype to InVision, sign in to your InVision account.
- Navigate to the Projects page.
- Locate your Studio prototype, and click to open it.
- To open Inspect mode, click the </> icon at the bottom of the page, or use the keyboard shortcut I.
Note: You must sync your screens directly from Studio to access Inspect. Inspect will always be available in the console footer, but it will display a warning message for screens that were not generated or updated in Studio.
Inspect UI tour
In Inspect mode, the left side of the page displays a canvas containing your current prototype screen. To go to the previous or next screen, use the Left and Right Arrow keys. The right sidebar contains all the information about your current screen.
At the top right of the page, you can view the screen name. To reveal the format settings, navigate to the right of the screen name and click the ••• button. Here you can choose from a variety of unit, code, and color types for inspecting your screen.
The following table displays all available formatting options:
In the right side bar, you will notice the Layers tab. This tab displays a list of all layers for that screen in the exact order, layer type, and hierarchy found in the source Studio file.
Hovering over a specific layer in the prototype screen will highlight the item in light gray in the layers list. If you click a layer in the prototype screen, it will be highlighted in blue in the layers list. Conversely, clicking a layer or a group in the layers list will select that layer or group in the prototype screen.
The following is a list of items and their associated icons that you’ll notice in the layers list:
MEASURING LAYER POSITION
To measure a layer’s position relative to the screen, click the layer—either in the prototype screen directly or in the layers list—and move the cursor into a blank space on the canvas. Pink guidelines with position dimensions will overlay the screen.
To display the relative distance between two layers, click the layer you want to measure and then hover over the layer you want to measure it against (either in the prototype screen or in the layers list). The same pink guidelines with position dimensions will overlay the screen.
When no layers are selected, the Info tab will display screen-contextual information such as artboard dimensions and position, document colors, screen colors, and fonts.
When no layers are selected, the Info tab will display Dimensions for the entire artboard. When a specific element is selected, several different dimensions and positions will be displayed. Click any of the dimensions to copy them to your clipboard.
The following is a breakdown of what the available dimensions represent:
|X and Y||Beginning coordinate points, relative to the artboard|
|X2 and Y2||Ending coordinate points, relative to the artboard|
|Width and Height||Dimensions of the selected element|
DOCUMENT COLORS AND SCREEN COLORS
When no layers are selected, the Info tab will display both Document Colors and Screen Colors. Document colors in Inspect are defined as all the colors used in the prototype. Screen colors are colors used on the particular screen you’re viewing.
Click any of the color swatches to preview them, and then click the color value to copy it to your clipboard.
Note: If you have added colors to the document colors palette in Studio, they will not necessarily appear as document colors in Inspect. Only the colors actually used in the layers will appear in Inspect.
When no layers are selected, the Info tab will display the Fonts section. This is a list of all fonts used in the prototype.
If you click a specific group or layer, the Info tab will display the Appearance section. This section contains a layer’s opacity and fill color. If you click a text layer in your prototype screen, the following attributes will also display:
- Line height
Click any of the appearance attributes to copy them to your clipboard.
If you click a text layer, the Info tab displays the Content field. Click within that field to copy the text to your clipboard.
Clicking any layer or group in the prototype screen will expose the Code tab in the right sidebar. This tab will display the code snippet for whatever layer is selected. To copy the code, click the Copy Code icon ().
With a layer or group selected, the Assets tab will appear in the right sidebar. If any assets are available for the selected layer or group, you will see a preview of the asset.
To download an asset:
- Click the desired layer—either in the layers list or on your prototype screen.
- In the right sidebar, click the Assets tab.
- Under Export Assets, click the first drop-down arrow and choose a file type (JPG or PNG).
- Click the second drop-down arrow and choose a size (.5x, 1x, or 2x).
- Click the Suffix field and type an optional suffix for the file name.
- Click Download.
The asset will download directly to your computer.
Sharing Inspect for Studio
Inspect does not currently support public share links. To give access to Inspect mode for your Studio prototype, you must first add someone as a Team member (if on a Team plan), or add them to your organization (if on an Enterprise plan).
Open the prototype, and copy the url directly from your browser. Use this url to share with others in your organization or team.