# void Obj::SetCommand(str)

[Family: Obj](/imperivm/en/CKS/familias/obj/)

## Exact signature

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

## Description

Creates and submits a named command for the object, without an additional target.

## 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 Obj::SetCommand(str, point)`](/imperivm/en/CKS/reference/api-b0709aadfc28f5/)
- [`void Obj::SetCommand(str, Obj)`](/imperivm/en/CKS/reference/api-88de83caebc37a/)

## Read and share

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

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