# void Query::SetPlayer(int)

[Family: Query](/imperivm/en/CKS/familias/query/)

## Exact signature

```text
void Query::SetPlayer(int)
```

## Description

Passes the script player value minus one to each live Query member's virtual slot [field].

## 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 | `int` |

## Read and share

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

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