Get 'clicked' or 'active' shape?

Hey! Maybe I’m missing something simple, however I can’t seem to figure out how to get the currently active or clicked shape, similar to selecting data points. I can get the shape when it has been modified or changed, however I can’t seem to get the shape that is being clicked or edited until after it has been changed.

I’m just looking to grab the shape data for the shape that has been clicked. Thanks!


Also very interested! I’ve lost several hours trying to dig how to do it. And I’ve see other similar questions around. It would be extremely useful to be able to retrive the active figure with a callback.

1 Like

I’m also in need of this. Wish it existed.

1 Like

Did anyone find any resolution on this? I am also looking for a way to retrieve a shape when the user clicks on it (as opposed to making a change to it) . - Thanks

Hi @GaryG, a while ago I was searching for this also, but I couldn’t find a solution in python.

I am pretty sure there is a bad to get this information via JS, but I don’t know how. :slightly_frowning_face: