# void Obj::AddCommand(bool, str)

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

## Exact signature

```text
void Obj::AddCommand(bool, str)
```

## Description

creates and enqueues a named command on a target object.

## 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 | `bool` |
| 2 | `str` |

## Other overloads

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

- [`void Obj::AddCommand(bool, str, point)`](/imperivm/en/CKS/reference/api-e3cf9e9093fb42/)
- [`void Obj::AddCommand(bool, str, Obj)`](/imperivm/en/CKS/reference/api-daa38d0046f9eb/)

## Read and share

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

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