# Introduction

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

**Magic Sun Direction** is an extension for the editor that allows you to quickly align directional light source on scene with the position of the sun on a static skybox.

There is also an option to track the rotation of the skybox. Thus, you only need to orient your light source once and then it will be synchronized with your skybox in the editor and in the build.


---

# 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://motiongamesstudio.gitbook.io/magic-sun-direction/introduction.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.
