# void ObjList::Clear()

[Family: ObjList](/en/CKS/familias/objlist/)

## Exact signature

```text
void ObjList::Clear()
```

## Description

Empties the object list on which it is called. The objects that were listed remain in the game.

## Usage notes

Removes entries from the list container and releases its internal storage. The documented effect is to empty the list, not to kill or erase its members or change their commands. This describes a successfully resolved list; it does not guarantee safe behavior for invalid list references.

## Parameters and return type

**Return type:** `void`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/exports/en/cks/api-55ebde488717a4.md)
- [JSON](/CKS/api/entries/api-55ebde488717a4?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
