I’m trying to create a plugin focused on brushes
and I’d like to create a button that creates a 100x100px black layer and automatically applies the selected brush to the document. I’ve looked around but haven’t found anything. Do you have any ideas?
I think it might be one of these two:
{
"_obj": "select",
"_target": [
{
"_ref": "toolPreset",
"_name": "Tool Preset Name"
}
]
}
{
"_obj": "select",
"_target": [
{
"_ref": "brush",
"_name": "Brush Name"
}
]
}
Thanks I will try them both.