Mouse Position Click Events

I would like to make a new script and I need the first point and the second while moving (similar to create a line or a gradient info) to create custom stuff. Would be possible soon? It is for making cool things that would be useful for everyone.

1 Like

Being able to define custom tools more generally would be useful, since it wouldn’t require hijacking existing tools.

In Tiled, there’s an API that lets you define a custom tool and register it with the program. Each tool has several functions that are called, such as when the mouse is moved or clicked, when the status bar should be updated, when the tool is activated, when a preview should be shown, etc. Something similar would be amazing for Aseprite.

2 Likes