> For the complete documentation index, see [llms.txt](https://docs.annoto.net/guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.annoto.net/guides/archive/moodle/using-annoto-activity-completion-within-moodle/restrict-access-using-annoto-activity-completion.md).

# Restrict access using Annoto Activity Completion

**Restrict Access Using Annoto Activity Completion in Moodle**

Annoto's integration with Moodle enables instructors to restrict access to specific course content based on student engagement with video activities.&#x20;

By using Moodle’s **Restrict Access** feature, instructors can set criteria that require students to complete interactive video activities—such as watching videos, participating in discussions —before gaining access to the next section of the course.

This functionality promotes progressive learning by ensuring students actively engage with material before moving forward, helping them stay on track and reinforcing key learning outcomes.

To set access restrictions, navigate to the activity you want to limit based on previous activity completion.

* Click on "Add restriction"

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

* Click on "Activity completion"

<figure><img src="/files/4HJLylHYpsIXTx2OaAaX" alt=""><figcaption></figcaption></figure>

* Choose the activity that needs to be completed before this activity can be viewed.

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

* Now, learners can access this content only after completing the activity requirements for the "Video Activity Completion" page.

<figure><img src="/files/2tLg94TVtl5VVRf230XR" alt=""><figcaption></figcaption></figure>

* They can also see an indication to this requirement

<figure><img src="/files/5b4iEWIUWeuSpkGgLk3O" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.annoto.net/guides/archive/moodle/using-annoto-activity-completion-within-moodle/restrict-access-using-annoto-activity-completion.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
