Cocos2d How to Access Panel In Code

Hello, I was wondering if anyone knew how to access panels in code. (C++)
I have checked Sonar Learning it is not very clear in how to do it, and there
is nothing in the programmer’s guide about it either. It’s not really descriptive how the sprite or other sections are, and I was looking for pointers such as how to make it hide itself, appear, and basic functions.

Thank you readers for your help and taking the time out to read this

What sort of panel?

Yes, Can you elaborate more? I don’t know of anything called a “Panel”.

Thanks for the replies, like a layout. Sorry in cocos studio its referred to as a panel. How to access layouts in code is what i meant.

I just cast it as ui::Widget.