Aseprite

Aseprite

blah Apr 3, 2020 @ 12:49pm
Is there a Hotkey for "Expand by 1 pixel"?
I find myself selecting sprites a LOT then having to go:

Select ---> Modify ---> Expand ---> 1 pixel ---> Ok

Would be AMAZING if I could do this all in 1 button press, but I can't find out if there is such a hotkey or not

Does anyone know?
< >
Showing 1-3 of 3 comments
GWOP-W×TCH Apr 3, 2020 @ 2:33pm 
Not sure I don't know lua or the api, but i threw this together as a script from a couple places; put it in your scripts and name it something you want:

local sprite = app.activeSprite if not sprite then return end local selected = sprite.selection if selected.isEmpty then return end app.command.ModifySelection{ modifier="expand", quantity=1, brush="square" } app.refresh()

Load up aseprite and then go to your keyboard shortcut menu

Commands > Run Script:

Find what you named it and assign a shortcut.

---

There could be better ways to do this, but I'm just starting out using aseprite myself, so I'm a bit lost.
Last edited by GWOP-W×TCH; Apr 3, 2020 @ 2:38pm
Sh. Fred Apr 4, 2020 @ 12:13am 
Expand how? You mean changing the size of the brush by one pixel? Or stretching the sprites by one pixel in each direction?
blah Apr 4, 2020 @ 2:21am 
Originally posted by Sh. Fred:
Expand how? You mean changing the size of the brush by one pixel? Or stretching the sprites by one pixel in each direction?
i just mean expanding the Selection -- so if i press W and select a sprite, I want to expand the selection size by 1 pixel (its a standard operation under "Select" --> "Modify" ---> "Expand"
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Apr 3, 2020 @ 12:49pm
Posts: 3