# BLOCK Command line
[GstarCAD 2019](Help%20System/GSTARCAD/2019/Index.md) → [Commands](Help%20System/GSTARCAD/2019/Commands/(Commands).md) → [B](Help%20System/GSTARCAD/2019/Commands/B/(B).md)
Create block definition according to selected objects.
**Command Access:**
> **Command entry:** -BLOCK
Command Prompts:
> Name for new block, or ? to list existing blocks:
>
> Name for new block:
>
> Name the block.
>
> List existing blocks:
>
> List the block names in the text window.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2015](../../../2015/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2016](../../../2016/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2017](../../../2017/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2018](../../../2018/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2020](Help%20System/GSTARCAD/2020/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/Commands/B/BLOCK%20Command%20line--ecf515b85d0e.md)