Selected attribute - Buttons

Hello Everyone,
I am new to UXP plugin developement and wanted to know:
Is it possible to change the selected attribute of a button/ action-button in photoshop UXP plugin?
Documentation says it has a ‘selected’ attribute:

Fistly, UXP doesn’t support Spectrum Web Components (SWC) - only Spectrum UXP
Secondly, it’s all still a mess. part of features work from SWC and part from Spectrum UXP :man_shrugging: It’s a trial and error path you’ll need to take to figure out what works and what doesn’t

1 Like

Thank you Karmalakas,
I am under the same impression after trying to make it work for a few hours and failing to come up with a solution.