> For the complete documentation index, see [llms.txt](https://docs.otherside.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/helpers-and-extras/custom-console-commands.md).

# Custom Console Commands

This page outlines some helpful console commands we've created to allow you to better test your world from PIE

{% 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.otherside.xyz/platform-documentation/creation/unreal-development/features-and-tutorials/helpers-and-extras/custom-console-commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
