Garry's Mod Wiki

Entity:GetFlexType

  string Entity:GetFlexType( number id )

Recently Added

This was recently added in version (2024.06.28). It might only be available on the Dev Branch right now.

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.