Panel:HasParent(Panel, Panel)

client
Checks if the panel is a descendant of another panel

Arguments

Returns

  • boolean True if the panel is a descendant of the parent, false otherwise

Examples

Panel:HasParent – Checks if the panel is a descendant of another panel