Garry's Mod Wiki

MatSelect:FindMaterialByValue

  DImageButton MatSelect:FindMaterialByValue( string mat )

Description

Find a DImageButton panel based on the input material path.

Arguments

1 string mat
The material to find within this MatSelect.

Returns

1 DImageButton
The found material, or nil.