Reference · Editing

pxart anim-set

Write an animation's timing and pivot on its @anim line (or one frame's), or mark it @still.

anim-set FILE:GROUP [ms=N] [direction=D] [repeat=N] [pivot=X,Y] [--still | --no-still] [-o OUT]
usage: pxart anim-set [-h] [-o O] [--still | --no-still] [--dry-run] target [settings ...]

  anim-set FILE:GROUP [ms=N] [direction=D] [repeat=N] [pivot=X,Y] [--still | --no-still] [-o OUT]
      Write an animation's timing and pivot on its @anim line (or one frame's), or mark it @still.

positional arguments:
  target
  settings

options:
  -h, --help  show this help message and exit
  -o O
  --still     add '@still GROUP'
  --no-still  remove '@still GROUP'
  --dry-run   print what the edit says and a diff of the file it would change; write nothing

      Write timing: updates the '@anim GROUP' line, or adds one, in the order of the frames.
      FILE:GROUP/ID (one frame) takes only ms=N and pivot=X,Y and sets that frame's own
      ('@frame ID ms=N pivot=X,Y'), which wins over the group's. KEY= with no value clears
      a setting.
      A path that is both a group and a frame means the group. Only that one line changes.
      --still adds '@still GROUP' (the group is no animation: UI icons, parts), --no-still
      removes it; FILE with no :GROUP (or FILE:*) --still writes '@still *' (every frame),
      unless every frame already is in a @still group: then it says so and adds nothing. An
      @anim line stays, unused while the group is still.

See also, in pxart help all: FORMAT: frames and animation (@frame ids, groups, @anim);
  FORMAT: pivots and timing (pivot=x,y, direction, repeat, ms); FORMAT: still groups (@still
  GROUP, @still *); EDITING (-o OUT gets the whole file, only changed lines are rewritten,
  'no change'); FORMAT: selecting frames (FILE:SEL, an unnamed grid's name, zsh's
  "${F}:sel").

pxart help all has the whole reference, pxart help TOPIC one part of it.

This is the output of pxart help anim-set. The other editing commands and their shared notes are in pxart help EDITING.

This page is built from site/src/data/reference.json in the repository.Edit on GitHub