# Magic Time for Game Modules

## Timeboard & GameTime

Usually GameTime will progress by Time.deltaTime each frame. However, the [**Magic Time**](broken://pages/hlYGqP9mEYDbmgzVLrzB) integration brings the `TimeboardMagicTimeUser` class, which is a `MagicTimeUser`, and will automatically modify the progression of GameTime by the final value of the subscribed `LocalTimeScales`.

To utilize this, add the `TimeboardMagicTimeUser` component to your `Timeboard` prefab.

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

I suggest you set the value of *Transition Duration* to `0f`. If you attach this to another object, then remember to populate the *Timeboard* field. Otherwise, this will be populated for you.

Make sure to populate the *Initial Time Scales* as well. In the example above, we subscrie to the "Global" time scale, which handles the overall time progression of the game.

Everything is is automatic!

{% hint style="info" %}
You may wish to save the *Timeboard* prefab  as a **new prefab variant**, since you have modified the component on this object. This will reduce the risk that a future update to Game Modules may overwrite the *Timeboard* prefab.
{% endhint %}


---

# 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://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/magic-time-for-game-modules.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.
