Skip to main content

[engine] Configuration

The [engine] section of the easel.toml configuration file controls how the Easel engine behaves when running your project.

Edition

[engine]
edition = 15

The edition parameter defines which edition of Easel your project uses. Newer editions of Easel may contain breaking changes that require you to update your code. When you create a new project, the edition is automatically initialized with the latest edition at the time the project was created. You can change the edition number to upgrade to a newer edition of Easel, but you might need to update your code according to the upgrade instructions for the new edition. See the Upgrading page to learn more.

Infinite loop detection

[engine]
maxLoopIterationsPerTick = 16777215

The maxLoopIterationsPerTick defines the maximum number of loop iterations that are allowed to occur within one tick. By default, this is set to 16777215.

It is easy to accidentally create infinite loops in your code, and this safeguard lets the engine catch this situation. An error will be displayed, and you will be able to return to the editor without needing to risk terminating your browser tab and losing your work.

To turn off infinite loop detection, set maxLoopIterationsPerTick = "unlimited".