Hey, I want to make a lua script using a KgPanel acting as a button. I want to know if its possible to have a script that turns on party frames for the Shadowed Unit Frame addon. If this is not possible I will just have to use a script I already know to switch profiles. I would rather just be able to have it turn on or off the party frames as I do not like to have a large amount of profiles for small things such as this.

If this is possible then excellent. If not thanks for the replies!