> For the complete documentation index, see [llms.txt](https://docs.msquared.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/helpers-and-extras/objects-with-world-context.md).

# Objects with "world context"

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

If you create a class off of a base UObject, it isn't guaranteed to have a "world context". For this reason, Unreal will hide away any methods that require a "world context object". This includes a lot of common, useful helpers, like `GetAllActorsOfClass`.

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

To help with this, we have added a `M2_ObjectWithWorldContext` helper - classes extending this will display the methods that require a world context object. If you create these objects with a suitable outer, that has the world context, then these methods will work.

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