# Forcefully end the dialogue

Why is this needed? For example, if a player walks away from a conversation without finishing it, the dialogue will continue wherever the player goes. To control this, you can forcibly end the dialogue when exiting the collision with the interlocutor. This can easily be done by calling the "Reset and Finish Dialog" function in BP\_Dialog.

For example, if a player moves away from the interlocutor:

<figure><img src="https://content.gitbook.com/content/hvnspCMmxmnA1523wXuk/blobs/fcLESQK7qlfmrqauMpM2/Screenshot_5.jpg" alt=""><figcaption></figcaption></figure>


---

# 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://max-silnov.gitbook.io/easy-dialogue-system/creating-and-managing-dialogue/creating-a-dialogue/forcefully-end-the-dialogue.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.
