Getting the actual category

Hello

I like to mark the selected category in my category list on the sidebar. How can I find out, which category was selected out of the category list?
At this time the API didn’t got me an answer ;-(

Thanks

Have you tried cb.getCategoryFilter()?

Great, works perfect comparing cb.getCategoryFilter() with category.getslug()

Many thanks