Add a GDevelop scene layer
add_scene_layerAdd an editable 2D layer to a GDevelop scene, such as a HUD overlay, by specifying project, scene, and layer names.
Instructions
Add an editable 2D layer to a scene, for example a HUD layer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"sceneName": "<sceneName>",
"layerName": "<layerName>"
},
"name": "add_scene_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerName | Yes | ||
| projectId | Yes | ||
| sceneName | Yes |