All releases
Cairn engine2026.10.088 Oct 2026

Shorter scripts, and switching things off

Entities can be switched off with everything under them, Lua gets shorter to write, and code editors get completion for the whole scripting API.

What's new

  • Switching entities off. An entity that is off is not drawn, simulated or played, and neither is anything under it. It stays in the hierarchy and the file, and comes back as it was.
  • Shorter Lua. Components are fields of their entity (entity.Rigidbody), and things read often are properties (entity.Forward, Time.Delta). A wrong component name is an error, so a typo is caught on the line it is on.
  • New helpers such as entity:LookAt and camera:ScreenToRay.
  • Completion in code editors. The editor writes definitions for the whole scripting API into each project, so VS Code and other editors with a Lua language server complete names and show what each function does.

Older names keep working, so scripts written the day before still run.