Skip to main content

Hi, i want my plugin to detect when I select a layer and enable a button in my menu like so:




What sort of event should I be listening for, and where should my handler be implemented ie inside my code.js or the script tag inside my ui.html?

In code.js:

figma.com

@tank666 thanks, it worked!


Thankyou Its Worked


Reply