ZZack_HongForum|Forum|3 years agoJune 23, 2023SolvedHow to detect when user has selected a layer when plugin is runningForum|Forum|3 years agoJune 23, 20233 replies1086 viewsHi, 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?APIs