Hi team,
I’m working on a customized Shapespark integration embedded in an iframe. My goal is to have full control over the material selection process so that I can integrate it seamlessly with my own UI logic.
Specifically, I would like to:
 Detect when a user clicks a material picker extension provided by Shapespark (for example, the default material spheres that appear when a material is editable).
 Optionally prevent the default material picker options menu to open up on clicking the material picker icon.
 Instead, handle the selection event myself.
Questions:
- Is there any way to track or listen to clicks on the material picker extensions (the built-in material picker extension in the UI)?
 - Is there any supported mechanism to override or disable the default behavior and replace it with custom logic?
 - If not directly supported, are there any recommended workarounds for achieving this level of control?
 
Any advice, examples, or best practices would be much appreciated.
Thank you!