# Tips and tricks

> Tips and tricks to help you work in Lunacy faster and more effectively


Lunacy has a lot of useful features that can significantly speed up your workflow, all described in detail across the chapters of the documentation. 

If you’re not one to read docs from cover to cover, they’ll probably go unnoticed. So, here’s a cheat sheet of tips and tricks along with demo videos to help you take full advantage of Lunacy.

## Ultimate time-savers

These features are aimed to optimize the design process and automate routine tasks, saving you a lot of time and effort while you’re working on your designs.

#### [Text generation](#text-generation)

When you need placeholder texts, there’s no need to leave the app and google them. Press `T`, click on the canvas to add a text layer, and various <a href="https://lunacy.docs.icons8.com/raw/text.md#text-generation-and-text-snippets" target="_blank">text generation</a> options will appear below.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_text_type_and_generate.png" height="auto"><source src="/public/tips_tricks_text_type_and_generate.mp4" type="video/mp4"></video>

What's more, Lunacy automatically adjusts the font size depending on the width and height of the text box you’re creating. It guesses whether the text box is for a heading, subheading, or paragraph block. Play around with the feature a bit to get a hang of it. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_auto_font_size.png" height="auto"><source src="/public/tips_tricks_auto_font_size.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/text.md" target="_blank">Text</a>

#### Avatar tool

Create <a href="https://lunacy.docs.icons8.com/raw/tools.md#avatar-tool" target="_blank">avatars</a> with pictures of **real-life models** or **generate photos** using AI. 

Press `Q` to add an avatar, and press <embed type="image/svg+xml" alt="Refresh/Normal" src="https://cdn-eu.icons8.com/docs/Dko8QE6mZ06fz2gAGGUBbA/Wrpud5KNLUe9hzSDiwGnew.svg" width="24" /> or **Generate avatar** to refresh it. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_add_avatars.png" height="auto"><source src="/public/tips_tricks_add_avatars.mp4" type="video/mp4"></video>

To create custom avatars, change the **Real-life photo** menu in the right panel to **Generated photo.** Adjust features such as gender, age, ethnicity, and emotion in the right panel, click **Generate avatar,** and let AI do its thing.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_generated_avatar_create.png" height="auto"><source src="/public/tips_tricks_generated_avatar_create.mp4" type="video/mp4"></video> 

#### [Auto refresh](#auto-refresh)

When you add generated content, like text and avatars, to your designs, duplicating them automatically refreshes the data so you don’t have to change anything manually.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_auto_refresh.png" height="auto"><source src="/public/tips_tricks_auto_refresh.mp4" type="video/mp4"></video>

To disable **Auto refresh**, select **Detach from Generated Content** in the layer context menu or in the **Layer → Content Generation** section of the menu bar. 

#### Repeat grid

When you select two or more layers, drag the <embed type="image/svg+xml" alt="repeat_grid" src="https://cdn-eu.icons8.com/docs/Dko8QE6mZ06fz2gAGGUBbA/arkPFiXr3U-oF3BIzB96uQ.svg" width="20" /> near the lower-right corner of the bounding box to duplicate the elements in a grid. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_repeat_grid.png" height="auto"><source src="/public/tips_tricks_repeat_grid.mp4" type="video/mp4"></video>

If the selected elements include generated content, newly created elements will appear with refreshed data (provided the [Auto refresh](#auto-refresh) option is enabled).

#### On-canvas font size editor

You can change font size directly on the canvas by dragging the circular handle at the bottom of the text layer bounding box:

<video autoplay="" muted="" loop="" playsinline="" width="auto" poster="/public/font_size_editor.png" height="auto"><source src="/public/font_size_editor.mp4" type="video/mp4"></video>

#### Icon, illustration, and photo libraries

Browse the **Icons**, **Photos**, and **Illustrations** tabs in the left panel to use free Icons8 graphics in your designs. Choose from different themes and filter them by keywords. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_libraries.png" height="auto"><source src="/public/tips_tricks_libraries.mp4" type="video/mp4"></video>

<div class="callout callout--info">
    <p><strong>Tip:</strong> Use low-res photos, PNG icons, and illustrations for free as long as you include a link to <a href="https://icons8.com/" target="_blank">icons8.com</a> in your final work.<br>To access high-res photos and editable SVGs without mandatory attribution use our graphics without mandatory attribution, consider our <a href="https://lunacy.docs.icons8.com/raw/subscriptions.md#graphics-subscriptions" target="_blank">graphics subscription</a>. By subscribing, you'll be supporting our artists and contributing to Lunacy's further development.</p>
</div>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/libraries.md" target="_blank">Libraries</a>
<br>
<a href="https://lunacy.docs.icons8.com/raw/subscriptions.md" target="_blank">Plans and pricing</a>

#### Background remover

Select an image and click **Remove background** in the right panel to cleanly cut out the subject.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_bg_remove.png" height="auto"><source src="/public/tips_tricks_bg_remove.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/images.md" target="_blank">Images</a>

#### Image upscaler

If you're working with pictures that happen to be of low quality, use the smart **Image upscaler** built into Lunacy to enhance the resolution and enlarge image size up to 7680px × 7680px.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_image_upscaler.png" height="auto"><source src="/public/tips_tricks_image_upscaler.mp4" type="video/mp4"></video>

<div class="callout callout--info">
    <p><strong>Note:</strong> This feature is only available with a <a href="https://lunacy.docs.icons8.com/raw/subscriptions.md#graphics-subscriptions/" target="_blank">paid subscription</a> to our graphics.</p>
</div>

#### Smart Layer list

Toggle the **Smart Layer list** to only display the layers that you currently see on the canvas. Press <embed type="image/svg+xml" alt="smart_layer_list" src="https://cdn-eu.icons8.com/docs/M9n6bSgrBEaWHOHZwLkY3A/3uDOUlA760igh6dc4pOLLg.svg" width=16 /> to switch between the full and Smart Layer list depending on your needs.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_smart_layers.png" height="auto"><source src="/public/tips_tricks_smart_layers.mp4" type="video/mp4"></video>

This is useful for really large documents with hundreds or even thousands of layers, when you need to focus on just one area of the canvas. 

<!--
#### Color palettes and auto shape colors

Every time you create a new document, Lunacy generates a palette with document color variables including main, accent, background, and text colors. Deselect all layers to see it in the right panel and press <embed type="image/svg+xml" alt="reset_overrides" src="https://cdn-eu.icons8.com/docs/M9n6bSgrBEaWHOHZwLkY3A/PmMyhR72A0GyShZvh91lgA.svg" width="16" > to generate a new palette. 

To change palette colors manually, click on the color circles to open the color picker. If you want the default shape color to be the usual gray, delete color variables by pressing <embed type="image/svg+xml" alt="delete_button" src="https://cdn-eu.icons8.com/docs/M9n6bSgrBEaWHOHZwLkY3A/kZ6IazBibE-dMPVUiDhphA.svg" width="12" />.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_color_palettes.png" height="auto"><source src="/public/tips_tricks_color_palettes.mp4" type="video/mp4"></video>

Using the document color palette, Lunacy colors [shapes](#shape-shortcuts) automatically depending on their size and predicted purpose (larger shapes have background colors while smaller elements are assigned primary or accent colors).

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_auto_shape_colors.png" height="auto"><source src="/public/tips_tricks_auto_shape_colors.mp4" type="video/mp4"></video>

-->

#### Auto Z-index

Lunacy determines the order of layers (the Z-index) on the canvas depending on their size. For example, if you drag a smaller layer (that’s at the bottom of the layer list) over a larger one, Lunacy places the small layer on top.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_auto_z_index.png" height="auto"><source src="/public/tips_tricks_auto_z_index.mp4" type="video/mp4"></video>

#### GUI tool

The <a href="https://lunacy.docs.icons8.com/raw/tools.md#gui-tool" target="_blank">GUI tool</a> features a set of basic UI elements you can add to your designs as components. Activate each component by pressing the corresponding shortcut:

`B` — button<br>
`D` — text input field<br>
`F` — checkbox<br>
`Y` — radio button<br>
`J` — toggle<br>
`W` — dropdown

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_gui_tool.png" height="auto"><source src="/public/tips_tricks_gui_tool.mp4" type="video/mp4"></video>

## Editing live webpages directly from Lunacy 

Use **Linked Design** to update your designs in live webpages right from Lunacy without bothering developers. With **Linked Design**, you can copy an embed link to your layers and integrate them right into website code. Then, if you make changes to the layer, click the <embed type="image/svg+xml" alt="reset_overrides" src="https://cdn-eu.icons8.com/docs/M9n6bSgrBEaWHOHZwLkY3A/PmMyhR72A0GyShZvh91lgA.svg"  width="16" > button in the **Linked design** section of the right panel and the design on the webpage will update instantly. No need to bother developers about it.

Here's a short explainer on how it works:

<iframe width="560" height="315" src="https://www.youtube.com/embed/l0X-TeBtPDs" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

<div class="callout callout--info">
    <p><strong>Note:</strong> Linked design is only available in <a href="https://lunacy.docs.icons8.com/raw/clouddocs.md" target="_blank">cloud documents</a>.</p>
</div>

Read a more <a href="https://lunacy.docs.icons8.com/raw/linked_design.md" target="_blank">detailed explanation of Linked Design</a> in the documentation.


## Sharing your designs straight from the canvas

Press `Alt + С + C` / `⌥ + C + C` to instantly upload a layer to Lunacy Cloud and copy the link to it to the clipboard. This way, you can share your designs straight from the canvas. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_uploading_layer_to_cloud.png" height="auto"><source src="/public/tips_tricks_uploading_layer_to_cloud.mp4" type="video/mp4"></video>

All of your uploads appear in the **Cloud uploads** list. Switch to the **Export** tab in the right panel, add an export option, and click <embed type="image/svg+xml" alt="Vector Copy" src="https://cdn-eu.icons8.com/docs/Dko8QE6mZ06fz2gAGGUBbA/17oPAse7T0eFJikgES01WQ.svg" width="20" /> to open it, copy links to previous uploads, or delete them from Lunacy servers. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_cloud_uploads.png" height="auto"><source src="/public/tips_tricks_cloud_uploads.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/export.md">Export</a>

## Speeding up your work with layers

Lunacy has several types of <a href="https://lunacy.docs.icons8.com/raw/layers.md" target="_blank">layers</a>. These tips show how to work with them quickly and efficiently.

#### Auto layout

Use <a href="https://lunacy.docs.icons8.com/raw/autolayout.md" target="_blank">auto layout</a> to create designs that adapt to the content as you change it. When you combine several elements in an auto layout, you can change the distances between and around them instantly using the right panel. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_autolayout.png" height="auto"><source src="/public/tips_tricks_autolayout.mp4" type="video/mp4"></video>

To add an auto layout, select a frame and press `Shift + A` or click `+` in the **Auto layout** section in the right panel. This isn’t only useful for discrete UI elements: you can build entire webpages whose layout adjusts as you adjust auto layout settings or move and resize individual blocks. 

##### On-canvas controls

You can adjust the spacing and padding in an auto layout right on the canvas by dragging the pink handles between and around the elements.

<video autoplay="" muted="" loop="" playsinline="" width="auto" poster="/public/auto_layout_canvas_editors.png" height="auto"><source src="/public/auto_layout_canvas_editors.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/autolayout.md" target="_blank">Auto layout</a>

#### Snapping frames to presets

A <a href="https://lunacy.docs.icons8.com/raw/basics.md#frames">frames</a> is a type of layer that works like a container for your designs, useful for when you're designing for a specific screen size or device. 

When adding a frame (press `A` to activate the **Frame tool**), you can choose presets from the right panel. To speed things along, drag the corner of the frame you're creating to one of the blue `+` signs that appear on the canvas to instantly snap a frame to a preset. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_snap_to_preset.png" height="auto"><source src="/public/tips_tricks_snap_to_preset.mp4" type="video/mp4"></video>

#### Copy and paste layer styles

To copy the properties of a layer (fills, borders, and effects), press `Ctrl + Alt + C` / `⌘ + ⌥ + C`. Then, select another layer and press `Ctrl + Alt + V` / `⌘ + ⌥ + V` to paste the layer style to the new layer. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_copy_paste_style.png" height="auto"><source src="/public/tips_tricks_copy_paste_style.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/layerstyles.md">Layer and text styles</a>

#### Scaling layers

Press `K` to enable the <a href="https://lunacy.docs.icons8.com/raw/tools.md#scale-tool">Scale tool</a>, select a layer, and use it to resize the layer proportionally without editing individual elements inside them. Along with the size, the scale tool also adjusts layer styles, like borders and shadows. You can select multiple layers and scale them simultaneously.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_scaling_on_canvas.png" height="auto"><source src="/public/tips_tricks_scaling_on_canvas.mp4" type="video/mp4"></video>

#### Hyperlinks between layers

You can create hyperlinks between the layers in your document, even if the layers are in different pages. 

1. Select the target layer and press `Ctrl + L` / `⌘ + L` (or select **Copy/Paste as → Copy link** in the context menu).
2. Select the layer that should lead to the target layer. 
3. Press `F2` to rename the layer, paste the target layer link from your clipboard, and press `Enter`. 
4. Hold down `Ctrl` / `⌘` and click the layer you renamed, and you’ll be redirected to the target layer.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_layer_hyperlinks.png" height="auto"><source src="/public/tips_tricks_layer_hyperlinks.mp4" type="video/mp4"></video>

<div class="callout callout--info">
    <p><strong>Note:</strong> If the layer you set as a starting point is locked, just click on it to be redirected.</p>
</div>

#### Zoom to selection

If you need to quickly zoom into a specific element, find it in the Layer list and double-click the icon next to the layer name. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_zoom_to_selection.png" height="auto"><source src="/public/tips_tricks_zoom_to_selection.mp4" type="video/mp4"></video>

Alternatively, select it in the Layer list and press `Ctrl + 2` / `⌘ + 2`.

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/basics.md#zooming-options" target="_blank">Zooming options</a>

#### Moving layers along straight lines

Hold down `Shift` when moving layers to restrict their movement along the X or Y axis.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_move_along_xy_axis.png" height="auto"><source src="/public/tips_tricks_move_along_xy_axis.mp4" type="video/mp4"></video>

#### Resizing layers with arrow keys

Press `Ctrl` / `⌘` + **arrow keys** to resize layers by 1px or  `Ctrl + Shift` / `⌘ + Shift` + **arrow keys** to resize by 10px.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_resizing_layers_with_arrow_keys.png" height="auto"><source src="/public/tips_tricks_resizing_layers_with_arrow_keys.mp4" type="video/mp4"></video>

## Advanced text features

Apart from the [text generation](#text-generation) feature we went over above, here's a few tips on managing Lunacy's <a href="https://lunacy.docs.icons8.com/raw/text.md">text layers</a> and formatting options.

#### Individual word formatting

To format individual words in a text, place the cursor in the middle or at the end of a word and change the text formatting in the right panel.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_individual_word_formatting.png" height="auto"><source src="/public/tips_tricks_individual_word_formatting.mp4" type="video/mp4"></video>

To format an entire text block, select the text layer and adjust the settings. 

#### Text alignment magnets

You can align text using the alignment magnets that appear around a selected text box. These magnets combine the functions of text alignment and position alignment controls. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_text_magnets.png" height="auto"><source src="/public/tips_tricks_text_magnets.mp4" type="video/mp4"></video>

This also works when you select multiple ungrouped text boxes. If you want to hide these magnets, disable the option in **View → Text Alignment Magnets** on the menu bar.

#### Resizing text boxes

To quickly resize a text box so that it fits right around the text, double-click its vertical or horizontal border.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_text_box_resize.png" height="auto"><source src="/public/tips_tricks_text_box_resize.mp4" type="video/mp4"></video>

<div class="callout callout--info">
    <p><strong>Note:</strong> A double-click over the right or left border enables <a href="https://lunacy.docs.icons8.com/raw/text.md#text-block-resize-options" target="_blank">horizontal resize mode</a> and transforms multiline texts into a single line.</p>
</div>


#### Adding text to shapes

Select a shape and press `T` to create a perfectly centered text layer inside it.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_text_to_shape.png" height="auto"><source src="/public/tips_tricks_text_to_shape.mp4" type="video/mp4"></video>

This is useful for designing buttons, menus, and similar UI elements. Don’t forget to use the placeholder text generation options that appear any time you create a text layer. 

#### Auto text color

When you add a text layer on top of a layer, Lunacy automatically sets a text color that contrasts with the background to save you a couple of clicks. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_auto_text_colors.png" height="auto"><source src="/public/tips_tricks_auto_text_colors.mp4" type="video/mp4"></video>

#### Fonts embedding

Embed fonts in an exported document so that when you share it with your colleagues or clients, they won’t have to install any fonts that may be missing on their device. Click **Text → Fonts Embedding** on the menu bar and embed all or certain fonts into the document. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_fonts_embedding.png" height="auto"><source src="/public/tips_tricks_fonts_embedding.mp4" type="video/mp4"></video>

#### Converting text to outlines
To convert a text layer to vector outlines, select the text layer and:

- Press `Ctrl + Shift + O` / `⌘ + Shift + O`.
- Select **Outline stroke** on the context menu.
- Select **Text → Convert to Outlines** on the menu bar.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_text_to_outlines.png" height="auto"><source src="/public/tips_tricks_text_to_outlines.mp4" type="video/mp4"></video>

**Note**: Text-to-outline operations are demanding for system resources. Attempts to convert large portions of text may slow Lunacy down.

## Mastering image editing

You can import and edit images in Lunacy at lightning speed.

#### Cutout tool

To quickly cut out a part of an image, select it and press `Enter` to enable **Edit mode**. There, choose one of the tools that shows up in the context toolbar above the layer:

- With **scissors**, you can make a selection with any shape by selecting the shape on the toolbar or pressing the corresponding shape shortcut.
- With the **freeform lasso**, draw freehand selections on parts of the image.
- Use the **polygonal lasso** to make selections using paths.

The selection becomes a new **image layer** you can adjust as you like. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_cutout_tool.png" height="auto"><source src="/public/tips_tricks_cutout_tool.mp4" type="video/mp4"></video>

#### Instant image replacement

To replace an existing image with another one without changing the original’s size, simply drag and drop a new image over it while holding down `Ctrl` / `⌘`.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_instant_image_replacement.png" height="auto"><source src="/public/tips_tricks_instant_image_replacement.mp4" type="video/mp4"></video>

#### Adjusting image size during import

When importing an image into Lunacy using the **Image tool** click and drag to adjust the image size before placing it on the canvas. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_image_size_adjust_during_import.png" height="auto"><source src="/public/tips_tricks_image_size_adjust_during_import.mp4" type="video/mp4"></video>

#### Image adjust

Change the hue, saturation, contrast, and other properties of your images. 

To do this:
1. Select an image layer. 
2. Click `+` next to **Image adjust** in the **right panel**.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_image_adjust.png" height="auto"><source src="/public/tips_tricks_image_adjust.mp4" type="video/mp4"></video>

## Efficient shape editing

Lunacy's shape tools are varied and have a lot of editing options you can use to speed up your design workflow. 

#### [Shape shortcuts](#shape-shortcuts)

Every shape in Lunacy has a corresponding shortcut, so you don’t have to dig into the toolbar to find the shape you need. Here they are:

`R` — rectangle<br>
`R`, `R` — rounded rectangle<br>
`L` — line<br>
`L`, `L` — arrow<br>
`O` — oval<br>
`O`, `O` — triangle<br>
`O`, `O`, `O` — polygon<br>
`O`, `O`, `O`, `O` — star<br>

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_shape_tools.png" height="auto"><source src="/public/tips_tricks_shape_tools.mp4" type="video/mp4"></video>

#### Editing stars and polygons on the canvas

You can **change the number of corners** in a star or a polygon in the right panel, but you can do this right on the canvas. Hover the cursor over the second-highest corner of the shape after you draw it.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_count_shapes.png" height="auto"><source src="/public/tips_tricks_count_shapes.mp4" type="video/mp4"></video>

To **change the ratio** of a star (the distance from its intersection points to the corners), drag the handles at its intersection points. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_ratio_star.png" height="auto"><source src="/public/tips_tricks_ratio_star.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/editing.md">Editing shapes</a>

#### Image fills

Add an image fill to any shape based on an image from the Lunacy library or your desktop:

1. Drag an image on top of a shape while holding down the **left mouse button**. 
2. Hold down `Ctrl` / `⌘`. You’ll see a blue, semi-transparent fill over the layer.
3. **Release the left mouse button** to apply the fill.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_image_fill_to_shape.png" height="auto"><source src="/public/tips_tricks_image_fill_to_shape.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/images.md" target="_blank">Images</a>

#### Keeping shapes symmetrical

**Draw or resize a shape from the center** by holding down `Alt` / `⌥` as you're creating the shape.

To **draw symmetrical shapes**, hold down `Shift` / `Shift`. 

Hold down `Alt + Shift` / `⌥ + Shift` to draw symmetrical shapes from the center.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_draw_resize_from_center.png" height="auto"><source src="/public/tips_tricks_draw_resize_from_center.mp4" type="video/mp4"></video>

#### Drawing horizontal, vertical, and 45° lines and paths

To keep the angle at 90° or 45° when drawing lines, arrows, or paths, hold down `Shift`.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_straight_diagonal_lines.png" height="auto"><source src="/public/tips_tricks_straight_diagonal_lines.mp4" type="video/mp4"></video>

#### Deleting points and handles

When creating shapes with the **Pen tool** (`P`), hold down `Alt` / `⌥` and click on an unnecessary point to delete it. To hide one of the handles of a <a href="https://lunacy.docs.icons8.com/raw/tools.md#types-of-points" target="_blank">disconnected point</a>, drag the tip of the handles towards the point.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_hiding_points_handles.png" height="auto"><source src="/public/tips_tricks_hiding_points_handles.mp4" type="video/mp4"></video>

#### Adjusting a shape’s corner radius

To **round the corners** of a rectangle, drag inwards from the circular handles that appear at the corners of the shape. 

A more convenient way to create rounded rectangles is to double-press `R` to activate the **rounded rectangle** shape tool. If you change its corner radius in the right panel and create another rounded rectangle, Lunacy will remember your last corner radius setting.

As for stars and polygons, the corner radius handle appears at the highest corner of the shape after you draw it. 

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_corner_rounding_shapes.png" height="auto"><source src="/public/tips_tricks_corner_rounding_shapes.mp4" type="video/mp4"></video>

<div class="callout callout--info">
    <p><strong>Note:</strong> This method only works with shapes created using the <b>Shape tools</b>.</p>
</div>

You can also round individual corners in the right panel.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_individual_corner_radius.png" height="auto"><source src="/public/tips_tricks_individual_corner_radius.mp4" type="video/mp4"></video>




## More tips, more tricks

#### Eyedropper zoom

Lunacy’s eyedropper tool is equipped with a zoom option that comes in handy when the target area is small and you need pixel precision. To use it, hover the eyedropper over the target and hold down the left mouse button, then point the eyedropper to the required pixel and release the mouse button:

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_eyedropper_zoom.png" height="auto"><source src="/public/tips_tricks_eyedropper_zoom.mp4" type="video/mp4"></video>

To exit the eyedropper zoom mode, press `Esc` or quickly swipe the cursor anywhere away from the area.

#### Slices for export

Use the **Slice tool** (`E`) for creating slices around your design and then export just the part within the slice.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_exporting_a_slice.png" height="auto"><source src="/public/tips_tricks_exporting_a_slice.mp4" type="video/mp4"></video>

#### Changing values in the right panel

To **change values in the right panel** input fields:

- Type a value manually.
- Click over a field and use the mouse wheel to gradually increase or decrease the value.
- Hover the cursor over a field, wait a moment until the cursor turns into a double-headed arrow, and drag the cursor up or down.
- Enter an arithmetic operation.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_changing_values_in_rightpanel.png" height="auto"><source src="/public/tips_tricks_changing_values_in_rightpanel.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/basics.md#right-panel-properties">Right panel properties</a>

#### Disabling snapping

If you don’t want a layer to snap to anything when you move it, hold down `Ctrl` / `⌘`.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_disabling_snapping.png" height="auto"><source src="/public/tips_tricks_disabling_snapping.mp4" type="video/mp4"></video>

#### Inverting gradients

To quickly invert a gradient, use the <embed type="image/svg+xml" alt="invert_gradient" src="https://cdn-eu.icons8.com/docs/Dko8QE6mZ06fz2gAGGUBbA/21XTFFf-FUe42vtoJfpY2Q.svg" width="20" /> button next to the gradient bar on the **Color Picker.**

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_inverting_gradient.png" height="auto"><source src="/public/tips_tricks_inverting_gradient.mp4" type="video/mp4"></video>

#### Hiding and minimizing UI elements

- **Minimize the left panel** by clicking on the active content tab.
- To **hide the toolbar, right panel, rulers,** and any other UI elements, disable them in the **View** section on the **menu bar.**
- **Hide all UI elements** (except for the menu bar) by pressing `Ctrl + .` / `⌘ + .`. This activates **Presentation mode**, useful for showcasing your designs with no distractions from the interface.

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_minimizing_hiding_ui.png" height="auto"><source src="/public/tips_tricks_minimizing_hiding_ui.mp4" type="video/mp4"></video>

**See also:**
<br>
<a href="https://lunacy.docs.icons8.com/raw/interface.md">Interface</a>

#### Adjusting UI scale

You can change the scale of the interface in **View → Interface scale** on the menu bar or by using these shortcuts:

- `Ctrl + Shift + Alt + + / ⌥ + Shift + ⌘ + =` — increase scale
- `Ctrl + Shift + Alt + - / ⌥ + Shift + ⌘ + -` — decrease scale
- `Ctrl + Shift + Alt + 0 / ⌥ + Shift + ⌘ + 0` — reset scale

<video autoplay="" muted="" loop="" playsinline="" width="100%" poster="/public/tips_tricks_ui_scale.png" height="auto"><source src="/public/tips_tricks_ui_scale.mp4" type="video/mp4"></video>