GEEKHUB / COUNTER-STRIKE 2

CS2 Map Editing Commands

Browse documented map-editing console commands.

95 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

95 commands
CommandDescription & syntaxCompatibilityActions
ent_absboxMap Editing · Private Practice

Inspect the outer bounds of a server-side entity. Intended for authorized local or private testing.

Syntax & details
ent_absbox <entity selector>

Example

help ent_absbox
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_actornamesMap Editing · Private Practice

Label actors that opt into the actor-name diagnostic display. Intended for authorized local or private testing.

Syntax & details
ent_actornames

Example

help ent_actornames
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_animgraph_debugMap Editing · Private Practice

Draw server animation graph diagnostics for a target. Intended for authorized local or private testing.

Syntax & details
ent_animgraph_debug <entity selector>

Example

help ent_animgraph_debug
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_animgraph_recordMap Editing · Private Practice

Toggle recording of a target entity's animation graph. Intended for authorized local or private testing.

Syntax & details
ent_animgraph_record <entity selector>

Example

help ent_animgraph_record
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_animgraph_setvarMap Editing · Private Practice

Change an animation graph parameter for a selected server entity. Intended for authorized local or private testing.

Syntax & details
ent_animgraph_setvar <variable=value and entity selector>

Example

help ent_animgraph_setvar
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_attachmentsMap Editing · Private Practice

Inspect model attachment locations on a server entity. Intended for authorized local or private testing.

Syntax & details
ent_attachments <entity selector>

Example

help ent_attachments
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_autoaimMap Editing · Private Practice

Visualize an entity's automatic aiming radius during map testing. Intended for authorized local or private testing.

Syntax & details
ent_autoaim <entity selector>

Example

help ent_autoaim
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_bboxMap Editing · Private Practice

Inspect the movement collision bounds of a server entity. Intended for authorized local or private testing.

Syntax & details
ent_bbox <entity selector>

Example

help ent_bbox
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_callMap Editing · Private Practice

Invoke a script function in an entity or map script scope. Intended for authorized local or private testing.

Syntax & details
ent_call <function and optional entity name>

Example

help ent_call
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_clear_debug_overlaysMap Editing · Private Practice

Remove active server debug drawings from the view. Intended for authorized local or private testing.

Syntax & details
ent_clear_debug_overlays

Example

help ent_clear_debug_overlays
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_findMap Editing · Private Practice

Search the server entity registry by target or class name. Intended for authorized local or private testing.

Syntax & details
ent_find <name fragment>

Example

help ent_find
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_find_indexMap Editing · Private Practice

Inspect a server entity by its numerical index. Intended for authorized local or private testing.

Syntax & details
ent_find_index <entity index>

Example

help ent_find_index
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_fireMap Editing · Private Practice

Send an input event to a map entity while testing entity logic. Intended for authorized local or private testing.

Syntax & details
ent_fire <target, optional input, value and delay>

Example

help ent_fire
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat, vconsole_fuzzy_matching
CS2 reference
Details →
ent_fire_outputMap Editing · Private Practice

Trigger a map entity output while testing its connections. Intended for authorized local or private testing.

Syntax & details
ent_fire_output <target, optional output, value and delay>

Example

help ent_fire_output
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat, vconsole_fuzzy_matching
CS2 reference
Details →
ent_grabMap Editing · Private Practice

Pick up the object at the editing cursor for local testing. Intended for authorized local or private testing.

Syntax & details
ent_grab [optional grab mode]

Example

help ent_grab
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_hierarchyMap Editing · Private Practice

Inspect parent and child relationships in the server entity tree. Intended for authorized local or private testing.

Syntax & details
ent_hierarchy <entity selector>

Example

help ent_hierarchy
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_hitboxMap Editing · Private Practice

Visualize hitbox geometry on a selected server entity. Intended for authorized local or private testing.

Syntax & details
ent_hitbox <entity selector>

Example

help ent_hitbox
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_infoMap Editing · Private Practice

Inspect information for a named server entity class. Intended for authorized local or private testing.

Syntax & details
ent_info <class name>

Example

help ent_info
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_jointsMap Editing · Private Practice

Visualize named joints and their orientation axes. Intended for authorized local or private testing.

Syntax & details
ent_joints <entity selector>

Example

help ent_joints
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_killMap Editing · Private Practice

Apply the kill operation to selected server entities during local map testing. Intended for authorized local or private testing.

Syntax & details
ent_kill <entity selector>

Example

help ent_kill
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_messagesMap Editing · Private Practice

Toggle a display of input and output events on target entities. Intended for authorized local or private testing.

Syntax & details
ent_messages <entity selector>

Example

help ent_messages
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_nameMap Editing · Private Practice

Label the selected server entity with its name. Intended for authorized local or private testing.

Syntax & details
ent_name <entity selector>

Example

help ent_name
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_orientMap Editing · Private Practice

Align an entity with the local player's orientation. Intended for authorized local or private testing.

Syntax & details
ent_orient <entity name and optional allangles>

Example

help ent_orient
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →
ent_pickerMap Editing · Private Practice

Inspect an entity interactively by pointing at it. Intended for authorized local or private testing.

Syntax & details
ent_picker [optional full]

Example

help ent_picker
Category
Map Editing
Context
Private Practice
Type
ConCommand
Reference value
Not recorded
Recorded flags
gamedll, cheat
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.