# (xdroom entity-name)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="311"></a>
## (xdroom entity-name)
---
Determine how much xdata space is still available for an entity.
---
This function reports the amount of *xdata* (short for *extended entity data*) space still free in the entity identified by *entity-name*. All entities in GstarCAD® have 16KB (actually, 16,383 bytes) each to store any kind of user-defined data. This function tells you how many bytes are still remaining.
**Example**
| Code | Returns |
| --- | --- |
| (setq txt (entlast)) | \<Entity name: abc123d4\> |
| (**xdroom** txt) | 16383 |
**NOTE** Use this function before you add xdata to the entity to verify whether or not the entity still has xdata room.
**Tell me about...**
[(entlast)](%28entlast%29.md)
[(setq symbol1 statement1 \[symbol2 statement2\] ...)](%28setq%20symbol1%20statement1%20-symbol2%20statement2-%20...%29.md)
[(xdsize list)](%28xdsize%20list%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28xdroom%20entity-name%29.md)