> For the complete documentation index, see [llms.txt](https://ferdowsur.gitbook.io/modules/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ferdowsur.gitbook.io/modules/scripting/changing-modules-runtime.md).

# Changing Modules Runtime

To change modules runtime by code, need to pass module container, not module.&#x20;

And, the module container needs to have the same amount of variable holders and appropriate settings for the module. To do that, call the UpdateVariableHolders()[^1] method.  This will assign default values and correct variable holders length.

[^1]: Requires asset version 4.6.3
