A downloadable project

Download NowName your own price

This script could you save several minutes if you want to make a rotation animation in Aseprite. 

You can select :

  • Revolutions per second,
  • Turn count,
  • Rotation pivot coordinates.


  • 2023-05-08: Fixed to work with indexed and grayscale color modes.
Rated 4.7 out of 5 stars
(6 total ratings)
TagsAseprite, lua, Rotation, script


Download NowName your own price

Click download now to get access to the following files:

rotar.lua 11 kB


Log in with itch.io to leave a comment.

how do i use this?

You need first paste this script in your script folder (How to locate script folder?). Go to File > Scripts > Rescan Scripts Folder (to refresh the list of scripts).

  1. Select the layer with the image (on frame 1) you wish to create the rotation animation.
  2. Go to  File > Scripts > rotar
  3. Pick the input parameters:
    1. Revolutions Per Second
    2. Turns Count
    3. Rotation pivot position
    4. Rotation direction (Left or Right)

This seems to not work with small sprites (like 30x30) for some reason. It turns into lines but it work fine with larger sprite.

Thanks for your post! I was able to reproduce the behavior you described only when the color mode is not RGBA (regardless of image size). I'll fix this soon.

Fixed and file updated!

Deleted 1 year ago

How to install it correctly?

any plans to add this to windows?

Hi there! Did you encounter any problems running this Aseprite script on your OS?
This script is designed for the Aseprite application (which is compatible with Windows, MacOS and Linux Ubuntu).

Hey amazing script but i am not sure what i am doing wrong. 

In aseprite i click the RevolutionsPerSecond:_1

and change it to RevolutionsPerSecond:_60

and it just says the following:

attempt to mul a 'string' with a 'number'

What am i doing wrong? :S


Hi there! The text in the inputs is like a help string. You need to replace the input text field with a number (i.e. "Revolutions per second: _60" is taken as a string, replace it with just "60").  I hope this helps!

does this work with aseprite for macOS? I cannot seem to get it to do anything...

I just checked the script, and it works. If you wish, you can share me some picture or video to see what's happening (gasparoken@gmail.com).


I love this script, seriously amazing. One of my favorite scripts for Aseprite, and I have like 50 scripts. Thank you for taking the time to make this and releasing it. Keep up the awesome work!


Thank you! ❤️


Wow i love u !

(1 edit) (+1)

Hello, I just downloaded it - awesome stuff, but it does not have Pivot points to select, though as I am not able to set Pivot manually in Aseprite it would be a very useful thing ty have. Maybe you have an older verson where I would be able to enter Pivot for rotation, or is there an utility that would allow customizing Pivot in Aseprite ? I would buy one.


Thanks for your donation! According to your request. Rotation pivot is now available.


Perfect, thank you very much