Garry's Mod Wiki

Panel:IsOurChild

  boolean Panel:IsOurChild( Panel childPanel )

Description

Returns whether the panel contains the given panel, recursively.

Arguments

1 Panel childPanel

Returns

1 boolean
True if the panel contains childPanel.