# void ObjList::SetCommand(str)

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

## Exact signature

```text
void ObjList::SetCommand(str)
```

## Description

For each resolved eligible member, calls virtual [field] with zero, creates the named command with selector 0, submits it through virtual [field] with false, and updates command state.

## Parameters and return type

**Return type:** `void`

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

| Position | Type |
| --- | --- |
| 1 | `str` |

## Other overloads

Check the exact signature. A description of one overload does not automatically document the others.

- [`void ObjList::SetCommand(str, point)`](/imperivm/en/CKS/reference/api-588c24e3c4638d/)
- [`void ObjList::SetCommand(str, Obj)`](/imperivm/en/CKS/reference/api-4d26dcef43dbda/)

## Read and share

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

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