Model
self:get_blendshape_value
Shared
Retrieves the current value of a blendshape on a specific component
Syntax
local value = self:get_blendshape_value(component, blendshape)Parameters
| Type | Name | Description |
|---|---|---|
string | component | Path of the component containing the blendshape |
string | blendshape | Name of the blendshape to retrieve |
Returns
| Type | Name | Description |
|---|---|---|
float | value | Current value of the blendshape |
Examples
local entity = model.create("character")
engine.print("info", "Blend shape value:", entity:get_blendshape_value("Skeleton3D/Head", "smile"))