But it's will be great to have ability to find out which layer is currently selected, for example UC.Getselectedlayer().
The issue with this is that what should then return is not a single number, because many layers can be selected the same time,
so this could be implemented with returning a List of numbers or an integer array with all the layer IDs which are selected.
Or I could implement a function which could get a layer number as parameter and could return with a boolean value if that tab layer is selected or not.