# bool Building::Attack(Obj)

[Family: Building](/imperivm/en/CKS/familias/building/)

## Exact signature

```text
bool Building::Attack(Obj)
```

## Description

Executes a guarded, possibly waiting Building attack that spawns an arrow shot on its firing path.

## Parameters and return type

**Return type:** `bool`

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

| Position | Type |
| --- | --- |
| 1 | `Obj` |

## Read and share

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

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