How to detect when user click the target panel.

I have a problem about how to detect a panel index when user click the target panel.
Welcome to the Official CGDevTools Support Community Forums.
https://www.cgdevtools.com/cgforum/
https://www.cgdevtools.com/cgforum/viewtopic.php?f=120&t=2364