# int Obj::attack()

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

## Exact signature

```text
int Obj::attack()
```

## Description

Shared native accessor that returns object dword [field] for both damage and attack script members.

## Parameters and return type

**Return type:** `int`

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](/imperivm/exports/en/cks/api-bb43a7094e1cab.md)
- [JSON](/imperivm/CKS/api/entries/api-bb43a7094e1cab?lang=en)

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