Set Expression State

Set the expression state of the currently loaded model
Preview
Preview

Parameters

Expressionrequired
Selection

Select an expression

Staterequired
Selection

Choose between Toggle, Enabled or Disabled

Fade Timerequired
number

Enter the fade time (in ms)

Variables

The following variables will be populated after executing this sub-action:

Description
successBool

indicator whether the expression state change has been successful or not

Example: True/False

C# Usage

public bool VTubeStudioActivateExpression(string expressionFile, Single fadeTime = 0.25)
public bool VTubeStudioDeactivateExpression(string expressionFile)