> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rork.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Element Selection

> Select any element in the iOS, Android, or web preview and tell Rork how to change it. Rork reads the element you picked and edits that part of the app. No screenshots needed.

Element Selection works on the iOS simulator, the Android emulator, and the web preview.

## How to use it

The screenshots below show the controls in the Rork editor. The orange outlines mark where to click.

**1. Open the preview**

Open a project on desktop and wait for the preview to load. For an Android app, press **Turn on emulator** if it is stopped. The pointer stays disabled while the app builds or the preview reloads.

![Rork's Android preview showing Plant Pal, with the pointer button outlined above the phone preview, to the left of Share.](https://docs.rork.com/images/element-selection/preview-overview.jpg)

The Android preview in Rork. The pointer is in the toolbar above the app, just to the left of Share.

**2. Press the pointer**

In an iOS or Android preview, hover over the pointer to see **Select an element**. In a web preview, the tooltip reads **Select an element for your prompt**. Click that button to turn on selection mode.

> [tab] iOS and Android
>
> ![Close-up of the Android preview toolbar. The pointer button is outlined and its tooltip reads Select an element.](https://docs.rork.com/images/element-selection/android-pointer.png)
>
> Android toolbar shown. Click the pointer immediately to the left of Share.

> [tab] Web
>
> ![Close-up of the web preview toolbar. The pointer button is outlined between the preview address and screen-size control.](https://docs.rork.com/images/element-selection/web-pointer.png)
>
> Click the pointer to the right of the preview address, before the screen-size button.

**3. Click the element**

Click the button, card, image, or text you want to change inside the preview. Each element lights up as you hover over it. In this example, select **Shop the roast list**.

![The Shop the roast list button selected in the web preview, with a blue outline around it.](https://mintcdn.com/rork/tJHyUvGlwVR6oWre/images/element-selection/selected-element.png?fit=max\&auto=format\&n=tJHyUvGlwVR6oWre\&q=85\&s=0c28cd25921a26f843ecb49756e10371)

The selected button is outlined in blue in the web preview.

**4. Describe the change and press Add**

Check the name in the **Selected element** card. Type a change such as `Make this button green.` in **Describe the change…**, then press **Add** or Enter. You can also leave the field empty and describe the change in the chat.

![Selected element card for Shop the roast list, with Make this button green. entered and the Add button outlined.](https://docs.rork.com/images/element-selection/describe-change.png)

Type the change in the card, then click Add in its bottom-right corner.

**5. Send the message**

The selected element appears as a chip in the chat composer on the left. Click the upward arrow in the bottom-right corner of the composer, **Send message**, to ask Rork to apply the change. **Add** attaches the element; **Send message** starts the edit.

![Rork chat composer with the Shop the roast list element attached and the Send message arrow outlined in the bottom-right corner.](https://docs.rork.com/images/element-selection/send-message.png)

The element is attached to the chat. Click the upward arrow to send the request.

You can select more than one element before you send. Each one shows as a chip in the composer, and the X on the chip removes it.

> [!TIP]
>
> Short prompts work best here. The element carries the "where", so your message only needs the "what".

> [accordion] Watch the demo
>
> <video src="https://mintcdn.com/rork/qkn0LeCmu5AFX-Hu/videos/element-selection/element-selection-demo.mp4?fit=max&auto=format&n=qkn0LeCmu5AFX-Hu&q=85&s=e02f68651bca7b6e3717b80563ea09d3" poster="/videos/element-selection/element-selection-demo.jpg" autoPlay muted loop playsInline controls aria-label="Pressing the pointer above a Rork preview, selecting the Call courier button, and typing a change for it" />
>
> Press the pointer, click the element, write the change. Rork edits that part of the app.

## Good prompts

```
Make this button orange and move it to the bottom of the screen.
```

```
Use a larger font here and add more space below it.
```

```
Replace this image with the app icon.
```

```
Turn this list into a two-column grid.
```

## What Rork receives

Rork attaches the element's name and where it lives in your code. It does not attach a screenshot. This is why the edit lands on the exact component instead of a look-alike somewhere else in the app.

If you want Rork to see the whole screen as well, use **Screenshot** in the [iOS or Android simulator toolbar](https://docs.rork.com/features/simulator.md#take-a-screenshot). It attaches the screen directly to your chat draft. You can also upload an image with **+ → Upload image**. The screenshot and selected element can go in the same message.

## Notes

* The pointer is available on desktop. On a phone, describe the element in words.
* The pointer is disabled while the app builds or the preview reloads. It becomes active when the preview is ready.
* Press the pointer again to leave selection mode without picking anything. In the card, Esc closes the card without adding the element.

## FAQ

> [accordion] Which platforms support Element Selection?
>
> All three previews: the iOS simulator, the Android emulator, and the web preview. The pointer sits in the toolbar above each of them.

> [accordion] Can I select several elements at once?
>
> Yes. Select them one after another before you send. Each element shows as a chip in the composer. Remove a chip with its X.

> [accordion] The pointer is greyed out. Why?
>
> The preview is still building or reloading. Wait for the app to appear, then press the pointer again.

> [accordion] Does it cost extra?
>
> No. Element Selection is part of the normal message. The message spends credits the same way any other message does.

> [accordion] I picked the wrong element. What do I do?
>
> Press the X on the chip in the composer, then select again. Nothing is sent until you press send.

## Next steps

> [card] [How the agent works](https://docs.rork.com/features/agent-modes.md)
>
> Design mode, Plan mode, and building.

> [card] [Assets and AI media](https://docs.rork.com/features/assets.md)
>
> Replace the element's picture with one Rork generates.

> [card] [Undo and history](https://docs.rork.com/features/undo-and-history.md)
>
> Roll back a change you did not like.

> [card] [Prompting strategy](https://docs.rork.com/introduction/introduction/prompting-strategy.md)
>
> Write messages Rork gets right the first time.

Build your app with Rork today.

Ship iOS, Android, and web apps by chatting with AI.

[Try Rork for Free](https://rork.com?utm_source=docs\&utm_medium=referral\&utm_campaign=docs-cta\&utm_content=cta-banner)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.