# Prerequisites

When the instructor sets prerequisites in a module, it will lock the Module until the learner completes the prerequisite module. Therefore, it is advisable to set prerequisites along with requirements as the first module. The instructor can only set the order of the preceding modules. Therefore, arranging the module hierarchy on the course page in the correct order is something that should be considered.

### Select Modules

<figure><img src="/files/hAajR1hy9VMKFExjm1yn" alt=""><figcaption></figcaption></figure>

### Edit Module

<figure><img src="/files/F4S7Nz2tOhBAcj0rYOas" alt=""><figcaption></figcaption></figure>

### Add Prerequisites

<figure><img src="/files/gNdLjgo8cGFJkw5x1g2u" alt=""><figcaption></figcaption></figure>

### Setting Prerequisites

<figure><img src="/files/xlzNNNokh8WzwHYPy5il" alt=""><figcaption></figcaption></figure>

There will be a dropdown for selecting the module that learners need to complete the activity before they can access this Module.

### Managing Prerequisites

<figure><img src="/files/66UpKRyGaHsF5VBrSock" alt=""><figcaption></figcaption></figure>

The instructor can add more than one prerequisite by selecting "Add Prerequisites". If you want to delete, you can click on the delete button on the right.

### Once finish, click 'Update Module'

<figure><img src="/files/FnRsisH5pjNWC8nj2yZX" alt=""><figcaption></figcaption></figure>

### Review Module

<figure><img src="/files/1nTXOLp2MkY4iaSsE7p6" alt=""><figcaption></figcaption></figure>

On the Header bar of the Module, the condition of Prerequisites will appear.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tlic.cmu.ac.th/cmu-mango-canvas-manual/course-design/module-access-conditions/prerequisites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
