repeat.count
import { repeat } from "@hmcs/sdk";
repeat.count(n) returns a VrmaRepeat value that plays the animation exactly n times, then stops.
await character.playVrma({
asset: "my-mod:nod",
repeat: repeat.count(3),
});
warning
repeat.count(n) requires a positive integer. Passing 0, negative numbers, or non-integers throws a RangeError.
See also repeat.forever and repeat.never.