Add a native GDevelop object
add_scene_objectCreate editable scene objects with Sprite, Text, or Spine configuration, object variables, and behaviors.
Instructions
Create an editable scene object with optional Sprite, Text, or Spine configuration, object variables, and behaviors.
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>",
"name": "<name>",
"type": "<type>"
},
"name": "add_scene_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | ||
| name | Yes | ||
| text | No | ||
| type | Yes | ||
| color | No | 255;255;255 | |
| spine | No | ||
| behaviors | No | ||
| projectId | Yes | ||
| sceneName | Yes | ||
| textStyle | No | ||
| variables | No | ||
| resourceName | No | ||
| animationName | No | Idle | |
| characterSize | No | ||
| collisionMask | No | ||
| frameDuration | No |