cocos_add_bounce_in
Add a spring-like bounce entrance animation to UI elements in Cocos Creator. Configure overshoot and duration parameters to create engaging motion effects for games and applications.
Instructions
Entrance with a spring-like overshoot: 0 → overshoot → 1.0.
Tune overshoot 1.05-1.3 — below that the bounce is invisible,
above it reads as jittery. 0.5s duration is a good default for
most UI; halve for faster games.
Returns {clip_uuid, clip_path, anim_component_id}.
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": {
"scene_path": "<scene_path>",
"node_id": "<node_id>"
},
"name": "cocos_add_bounce_in"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| overshoot | No | ||
| duration | No | ||
| delay | No | ||
| rel_dir | No |