Entity:GetFlexIdByName(Entity, string) shared Get flex ID by name. Arguments entity Entity flexName string Returns integer Flex ID. Examples Entity:GetFlexIdByName – Get flex ID by name.