> For the complete documentation index, see [llms.txt](https://docs.pasteware.team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pasteware.team/hooks/hook.md).

# CreateMove

Called once a tick.

## Example

```
function on_create_move( cmd ) {
    print( "Hello, world!" );
    return cmd;
}

hook.add( "CreateMove", "on_create_move" );
```

{% content-ref url="/pages/-MFYtmdmKNR63xkoWDoi" %}
[CUserCmd](/types/cusercmd.md)
{% endcontent-ref %}
