Skip to content

✨ Tween to frame without playing an animation afterward #382

Closed

Description

@Howzieky

Is your feature request related to a problem? Please describe.
An inconvenience, more like. It'd be great if there was a way to stop an animation smoothly, without starting another one.

Describe the solution you'd like
Something like function animated_java:<name>/animations/<animation>/set_frame {frame:<x>,duration:<y>} would do the trick perfectly, for me. Though, it might be better to have a whole new function for this purpose, so that it can also run pause_all. Or maybe if there was an extra argument in the tween function call that could say whether to play the new animation after tweening to it, that could work too. The 'lack of default arguments' situation with macros in general might make that annoying though. I think there's a lot of flexibility here for one of several different solutions.

Describe alternatives you've considered
Right now, just do I don't need to add any extra ticking commands myself, I'm pausing all animations, set_frameing to frame 0, then merging {interpolation_duration:3,start_interpolation:0} to all bones. It's a lazy fix, but it's working. Minecraft doesn't need the interpolation values to be set in the same line as the actual transform data, so I can apply that separately so long as it's still in the same tick.

Additional context
I think that about covers it tbh

Activity

  1. changed the title [-][FR] Tween to frame without playing an animation afterward[/-] [+]✨ Tween to frame without playing an animation afterward[/+] on Oct 2, 2026
  2. added a commit that references this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions