animateObject
Animate 3D object properties like position, rotation, scale, and material effects for glow, fade, or color transitions in live scenes.
Instructions
Animate an object property to a target value. Supports transforms (position, rotation, scale) and material properties (emissiveIntensity, opacity, color) for pulsing glow, fading, color shifts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Object id to animate | |
| property | Yes | Which property to animate. Use material.* for glow/fade effects. | |
| to | Yes | Target value. {x,y,z} for transforms, number for intensity/opacity, hex string for color. | |
| duration | No | Duration in seconds (default 1) | |
| easing | No | Easing function (default linear) | |
| loop | No | Loop the animation (default false) |