Button number from button bar?

Discussion created by PeterWindle on May 1, 2016
Latest reply on Oct 18, 2018 by Fabrice Nordmann

Does anyone know if there is a function to return the currently active button number from the button bar?

Each button within a button bar has a number, I want to be able to grab that number within a script, when the button is pressed, is it possible?