Skip to content

Add Lua API to access new UserData properties #88

Closed
aseprite/aseprite
#3648

Description

@Gasparoken

EDIT Just in case the following design was proposed by @dacap but there is no final API design, we have to talk about the best options.

Related to aseprite/aseprite#3625

Add Lua API to access doc::UserData properties, e.g.

myLayer.extraData["extension id"].extensionCustomProperty or
myLayer.properties["extension id"].extensionCustomProperty
myLayer.extensionData["extension id"].extensionCustomProperty or

and probably

myLayer.userData.myProperty or
myLayer.userProperties.myProperty

as shortcut for

myLayer.extraData[""].myProperty
...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions