# Keywords

Keyword syntax is the way to encode script instructions using special words. In general, any command name as defined in [Sanny Builder Library](https://library.sannybuilder.com) is a valid keyword.

When using keywords, they must be the first word on the line, followed by arguments (if any).

Here is an example of a WAIT command using its name as the keyword:

```pascal
wait 0
```

Extra words are allowed (similarly to [opcode syntax](https://docs.sannybuilder.com/language/instructions/opcodes)):

```pascal
CREATE_PLAYER 0 at 811.875 -939.9375 35.75 store_to $player 
```

A keywords list can be displayed after pressing `Ctrl+Space`.

### Extra keywords

{% hint style="warning" %}
Editing `keywords.txt` is deprecated and legacy keywords are left only for backward compatibility with old scripts. Adding new keywords is discouraged.
{% endhint %}

Edit modes can define extra aliases to command names in the file [keywords.txt](https://docs.sannybuilder.com/edit-modes#keywords):

```javascript
0002=jump
0002=goto
```

```javascript
jump @label // 'jump' is an alias to the GOTO command
```
