# Branching controlled by slides

By default, slides are shown to the user in the order defined on the left of the editor:

<figure><img src="https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FeVSPaRXne5sxoruiPfIM%2Fimage.png?alt=media&#x26;token=e6aeb1f4-9564-490f-ba26-281114713397" alt=""><figcaption></figcaption></figure>

You can change the order of the slides by dragging and dropping them in the desired order. However, there are cases where the default order is not enough for your needs.

For example, if you want the *Foundation* question to be displayed only if the user selects the choice *Foundation & Shade* in the *Help type* question, you need to create a dependency. To do this, click on the arrows icon of this slide

<figure><img src="https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FqZSHNt8ID1X4IDXdjH3j%2Fimage.png?alt=media&#x26;token=711a1b97-425e-42ae-8b8b-99a9472abd06" alt=""><figcaption></figcaption></figure>

And select as a condition the *Foundation & Shade* choice of the first question:

<figure><img src="https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LrTaL6FQB3RzlkCwQfN%2Fuploads%2FgKtT6dpMByABJpNVnak8%2Fimage.png?alt=media&#x26;token=9f2040d7-5a7a-490b-bba4-99666301b403" alt=""><figcaption></figcaption></figure>

In this case, the slide will only be shown if previously the user selects “Foundation & Shade” You can also set the opposite, and not show a slide depending on a user’s previous answer.

{% hint style="info" %}
If multiple conditions are selected, the slide will be displayed (or not displayed) if any of the conditions are met.
{% endhint %}
