# Custom Console Commands

{% hint style="success" %}
verified: 2025-11-19 version: v39
{% endhint %}

| Command                                                                   | Description                                           | Example Usage                            | Notes                                                                                                                                                                                                                                                                                                     |
| ------------------------------------------------------------------------- | ----------------------------------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| M2.Teleport `<ZOffset>`                                                   | Teleport to the location at the center of the screen. | <p>M2.Teleport 100<br>M2.Teleport</p>    | <p>Works with <a href="https://dev.epicgames.com/community/learning/tutorials/dXl5/advanced-debugging-in-unreal-engine">debug camera</a> which provides a helpful pointer for where you will be teleporting to.<br><br><code>ZOffset</code> argument is optional. If excluded, it will default to 100</p> |
| M2.Logging.LogVerbosity `<Category>` `<Verbosity>` `<optional: BotsOnly>` | Change log verbosity of all clients and server.       | M2.Logging.LogVerbosity LogActor Verbose | Requires an `M2_ConsoleCommandsSingleton` actor in the world. Add it to the `AdditionalSingletons` list in the world settings to spawn one.                                                                                                                                                               |


---

# 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.msquared.io/creation/unreal-development/features-and-tutorials/helpers-and-extras/custom-console-commands.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.
