set_frame_duration
Adjust a single frame's duration in milliseconds for precise animation timing. Validates the 1-based frame index, rejecting out-of-range values with the sprite's valid range.
Instructions
Set a single frame's duration in milliseconds (1-based frame).
`frame` must already exist: an out-of-range number is rejected with the sprite's
valid range rather than clamped to it (which used to report the requested number
while changing frame 1).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | Yes | ||
| filename | Yes | ||
| duration_ms | Yes |