Skip to main content
GET
/
script
/
list
list entities with scripts attached
curl --request GET \
  --url http://localhost:3917/script/list
{
  "count": 1,
  "entities": [
    {
      "enabled": true,
      "entity_id": 3,
      "script_name": "patrol.lua",
      "update_fn": "update"
    }
  ]
}

Response

200 - application/json

Entities with an attached ScriptComponent, including script name and enabled state.