# /doortarget

## Syntax

**/doortarget \[id # | filter]**

## Description

"Targets" a door or Switch for further manipulation (eg. /face door). The targeting of doors, switches will not show up in the target window. This is because the EQ servers started monitoring for targeting that is not possible through the normal client, however current MQ will show indication of your /doortarget

## Examples

|                   |                                                            |
| ----------------- | ---------------------------------------------------------- |
| **Example**       | **Description**                                            |
| /doortarget       | Will target closest door/switch                            |
| /doortarget id 27 | If you are in PoK will target the portal stone to Rathemtn |

## See Also

* [Doors](/macroquest/commands/slash-commands/doors.md)
* [Face](/macroquest/commands/slash-commands/face.md)


---

# 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://macroquest.gitbook.io/macroquest/commands/slash-commands/doortarget.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.
