cocos_add_pulse
Add a subtle looping scale animation to UI elements to draw attention during idle states. Configure pulse strength and timing for natural visual feedback without manual coding.
Instructions
Looping subtle scale pulse — attention-grabber for idle UI.
strength: how much bigger at peak (0.08 = 8%). Keep subtle;
above ~0.15 looks anxious.
period: one cycle in seconds. 1.0-1.5 reads as a relaxed
heartbeat; below 0.5 feels panicked.
Clip loops forever — attach and forget.
Returns {clip_uuid, clip_path, anim_component_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| strength | No | ||
| period | No | ||
| rel_dir | No |