# Desktops and displays

> Where a resident appears, in front of or behind your windows, on which desktops, and across displays.

Three settings in **Place** control where a resident lives on your Mac. Each answers one question, and they combine freely.

| Question | Setting | Choices |
| --- | --- | --- |
| In front of or behind your windows? | **In front of windows** | **Always in front**, **With windows**, **On the wallpaper** |
| On which desktops? | **Desktops** | **All desktops**, **This desktop only** |
| What happens between two displays? | **Across displays** | **Show on both**, **Only one** |

A **macOS desktop** is one of the Spaces you switch between in Mission Control (distinct from **your Pixling desk**, which is all residents currently placed on screen). A **display** is a physical screen.

## In front of or behind your windows

```text title="Window layer stack (front to back)"
  Always in front   ── above every app's windows (below Dock unless overlapping menu bar)
  With windows      ── interleaved with ordinary app windows
  On the wallpaper  ── behind every window and desktop icons
  Desktop wallpaper ── macOS background image
```

| Choice | Where it stands | Takes clicks | Speaks and asks |
| --- | --- | --- | --- |
| **Always in front** | In front of every app's windows | Yes | Yes |
| **With windows** | Among your windows, like any other window | Yes | Yes, though other windows can cover its bubbles |
| **On the wallpaper** | Behind every window and desktop icon | No | No |

- **Always in front** normally stays below the Dock. When a resident overlaps the menu bar, it stands above both the menu bar and the Dock and takes clicks on that spot.
- **With windows** brings the resident forward when clicked and moves keyboard focus to Pixling. Keys you type do nothing until you click another app.

> [!CAUTION]
> **Recovering a resident on the wallpaper**
> A resident set to **On the wallpaper** cannot be thrown, refuses messages and questions, and can be right-clicked only while you edit its position. To change it back, open Studio's [Desk page](/docs/use/studio/#desk), select the resident, and change **In front of windows** in its settings.

## On which desktops

**All desktops** shows the resident on every desktop at the same position. **This desktop only** keeps it on the desktop where it stands.

The starting value depends on how the resident came out:

| Came out from | Starts as |
| --- | --- |
| The bar at the bottom of the Field Guide | **This desktop only**, unless you change the checkbox there |
| Create or Import | **All desktops** |
| An agent or the CLI | **This desktop only**, unless it sets another value |

To move a **This desktop only** resident to another desktop, choose **Take to another desktop** from its menu, switch desktops, then click it to set it down. With a single display, you can also drag it to the left or right edge of the screen.

> [!TIP]
> **Keeping residents off full-screen apps**
> A full-screen app is a desktop of its own. **All desktops** residents appear over it and stay in front of it, even with **With windows** and even when you click the app.
>
> Use **This desktop only** to keep a resident out of full-screen apps. It stays on its desktop, and words sent to it wait until you return.

macOS gives apps no way to name a desktop, so Pixling remembers the display instead:

- **After a restart**: A **This desktop only** resident appears on whichever desktop you are viewing when Pixling starts.
- **If you remove a desktop**: macOS moves its windows to another desktop, and the resident goes with them.

## Between two displays

A resident remembers its display and its relative position on that display, so when the resolution changes, it stays in the same relative spot. To move a resident to another display, drag it across or use **Move to screen** on Studio's Desk page.

| Choice | Resident on a screen edge | Throw or fall |
| --- | --- | --- |
| **Show on both** | Each display draws its part | Crosses displays |
| **Only one** | One display draws it | Stays on the display it started from |

Even with **Only one**, you can still drag a resident to another display.

## When you unplug a display

Residents on the unplugged display disappear from view, and nothing about them is lost. Plug the same display back in and they return to the same spot. To bring one back sooner, select it on Studio's Desk page and press **Bring here** to move it to the center of the display Studio is on.

## Sets

A [set](/docs/use/studio/#sets) saves each resident's position relative to the display, not which display or desktop it came from.

- **Use this set** updates the desktop you are viewing on Studio's display. Use **Destination** to pick another display when you have one.
- If the set contains **All desktops** residents, the **All desktops** residents on that display change too, on every desktop.

## Next steps

- [What stays and what goes](/docs/use/what-stays/): See what survives hiding, putting away, macOS restarts, and ended agent sessions.
- [When something looks wrong](/docs/use/troubleshooting/): Find a missing resident, fix full-screen overlap, or unblock clicks.
