Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripting API: access to selected tile in APP object #4403

Open
lunoka opened this issue Apr 5, 2024 · 3 comments
Open

Scripting API: access to selected tile in APP object #4403

lunoka opened this issue Apr 5, 2024 · 3 comments
Labels
feature Feature request, or something should be improved low complexity scripting Related to scripting API
Milestone

Comments

@lunoka
Copy link

lunoka commented Apr 5, 2024

Possibility to access the current selected tile object from the active tileset through object APP via scripting, for example:
app.fgTile or app.bgTile
And then access to tile properties.

  • Aseprite version: v1.3.2-x64 installer
  • System: Windows 10
@dacap
Copy link
Member

dacap commented Apr 9, 2024

Hi @lunoka, I thought that something like app.range.tiles might be useful for your case but no, we've to add these properties 👍

@dacap dacap added feature Feature request, or something should be improved scripting Related to scripting API low complexity labels Apr 9, 2024
@dacap dacap added this to the v1.3.x milestone Apr 9, 2024
@lunoka
Copy link
Author

lunoka commented Apr 9, 2024

thank you! This will help me with my work on old 8/16 bit consoles \o/

@lunoka
Copy link
Author

lunoka commented Apr 10, 2024

By the way, maybe it would also need an event in the same way than "fgcolorchange"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request, or something should be improved low complexity scripting Related to scripting API
Projects
Status: Todo
Development

No branches or pull requests

2 participants