ent_animgraph_setvar Command

Explore usage, syntax, and examples for the ent_animgraph_setvar CS2 developer console command.

ent_animgraph_setvar

CS2 Only

Command

ent_animgraph_setvar

<Entity ID><Variable Name><Value>

Sets a specific variable in the animgraph of the given entity to change its animation behavior dynamically.

<Entity ID>

ID of the entity whose animgraph variable you want to change.

<Variable Name>

Name of the animgraph variable to set.

<Value>

New value to assign to the specified animgraph variable.

sv_cheats Required

Yes

Client or Server Command

Server

ent_animgraph_setvar Generator

Command

ent_animgraph_setvar

<Entity ID><Variable Name><Value>
0/3 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

ent_animgraph_setvar Examples

Command

ent_animgraph_setvar

<variable<entityid>

Updates the chosen animgraph variable to the new value for the specified entity.