Garry's Mod Wiki

Entity:GetFlexType

  string Entity:GetFlexType( number id )

Description

Returns flex controller type or "category". Used internally by Faceposer to categorize flex controllers.

Arguments

1 number id
The flex index to look up type of. The range is between 0 and Entity:GetFlexNum - 1.

Returns

1 string
The flex type, or no value if the requested ID is out of bounds.