# Lua Scripting Tutorial

**URL:** https://community.aseprite.org/t/lua-scripting-tutorial/8414
**Category:** Scripts & Extensions
**Created:** [March 13, 2021, 6:24pm UTC](https://community.aseprite.org/t/lua-scripting-tutorial/8414 "2021-03-13T18:24:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![behreandtjeremy](https://community.aseprite.org/user_avatar/community.aseprite.org/behreandtjeremy/32/6606_2.png) [@behreandtjeremy](https://community.aseprite.org/u/behreandtjeremy)
#### Post date: [March 13, 2021, 6:24pm UTC](https://community.aseprite.org/t/lua-scripting-tutorial/8414/1 "2021-03-13T18:24:40Z")

</div>

Hi folks,

I recently discovered Aseprite scripting with Lua and I wanted to share a [tutorial](https://behreajj.medium.com/how-to-script-aseprite-tools-in-lua-8f849b08733) I wrote about it. The associated Github repo, a work-in-progress, is [here](https://github.com/behreajj/AsepriteAddons). Here are two screen captures:

 ![arcCap](https://community.aseprite.org/uploads/default/original/2X/a/a8ce56100cab34ad470910b1025cd5b87490401e.png)

An arc drawing dialog.

 ![conicGradCap](https://community.aseprite.org/uploads/default/original/2X/f/f86495952a6e7b77f31ce221229321afc168fe93.png)

A conic gradient dialog.

Thanks for your time. Hope you find these fun and interesting!

Best,  
Jeremy

---

<div class="post-metadata">

### Author: ![pixelart-girl](https://community.aseprite.org/user_avatar/community.aseprite.org/pixelart-girl/32/12227_2.png) [@pixelart-girl](https://community.aseprite.org/u/pixelart-girl)
#### Post date: [May 21, 2022, 1:25am UTC](https://community.aseprite.org/t/lua-scripting-tutorial/8414/2 "2022-05-21T01:25:04Z")

</div>

Fantastic!  
I believe this is the ONLY aseprite scripting tutorial in existence.  
Please update it with more examples if you have time.

---

<div class="post-metadata">

### Author: ![Vee](https://community.aseprite.org/user_avatar/community.aseprite.org/vee/32/2598_2.png) [@Vee](https://community.aseprite.org/u/Vee)
#### Post date: [May 21, 2022, 9:24pm UTC](https://community.aseprite.org/t/lua-scripting-tutorial/8414/3 "2022-05-21T21:24:39Z")

</div>

I didn’t know anyone else was making scripts! Just kidding, but really, having taught myself this stuff, you will have just helped the community grow a whole lot with this single post.

I foresee the popular link badge in your future. Also, welcome to the forums! What an excellent first contribution!

---

<div class="post-metadata">

### Author: ![Anh\_Hoang](https://community.aseprite.org/user_avatar/community.aseprite.org/anh_hoang/32/8110_2.png) [@Anh\_Hoang](https://community.aseprite.org/u/Anh_Hoang)
#### Post date: [December 19, 2022, 9:37am UTC](https://community.aseprite.org/t/lua-scripting-tutorial/8414/5 "2022-12-19T09:37:26Z")

</div>

Amazing! thank you very much for your tutorial! this helps me a lot ^^.
