Hi there!
I’m trying to get number of frames in a aseprite file and couldn’t find this function in official Aseprite API help: api/frame.md at master · aseprite/api · GitHub
Could somebody help, please?
thank!
Hi there!
I’m trying to get number of frames in a aseprite file and couldn’t find this function in official Aseprite API help: api/frame.md at master · aseprite/api · GitHub
Could somebody help, please?
thank!
Try this
Hi there @costanalobin, you can use the #
operator with app.activeSprite.frames
:
print(#app.activeSprite.frames)