CS2 animgraph_set_parameter_bool Command

CS2 Command CS2 logo
animgraph_set_parameter_bool <Entity selector> <Boolean parameter name> <0 / 1>

This command allows entities to have a specific boolean parameter set to a designated value, providing a useful tool for animators to test specific animations.

Argument Information

The syntax for this command is as follows:
Name Description
Entity selector

Specifies which entities are affected by the command.

Boolean parameter name

The name of the boolean parameter to be set.

0 / 1

Sets the value of the specified boolean parameter.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Server
Default Value
cmd
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

animgraph_set_parameter_bool <Entity selector> <Boolean parameter name> null
1/3 arguments filled
Entity selector
Boolean parameter name
0 / 1

animgraph_set_parameter_bool Examples

animgraph_set_parameter_bool @player myBoolParam 1

Sets the boolean parameter named 'myBoolParam' to true for the player entity.

animgraph_set_parameter_bool @all chickenDance 0

Sets the boolean parameter named 'chickenDance' to false for all entities.