Skip to main content

Threads

The threads module allows you to set up a script that is not attached to an Scene, Actor or Trigger.

This is useful for controlling background processes or specific situations where an actor is not needed.

By default, you can create up to 5 different threads, this can be extended on the Maximum Elements settings.

warning

The script will be run until the script is finished, if you want something that runs constantly you need to place the code inside a Loop event.

Make sure if you place the code inside a Loop to add an Idle or Wait otherwise game execution would soft-lock.