2022-10-21 17:16:00 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Bladeburner ](./bitburner.bladeburner.md ) > [setTeamSize ](./bitburner.bladeburner.setteamsize.md )
## Bladeburner.setTeamSize() method
Set team size.
2023-02-11 19:18:50 +01:00
**Signature:**
2022-10-21 17:16:00 +02:00
```typescript
2024-08-17 23:08:55 +02:00
setTeamSize(
type: BladeburnerActionType | `${BladeburnerActionType}` ,
name: BladeburnerActionName | `${BladeburnerActionName}` ,
size: number,
): number;
2022-10-21 17:16:00 +02:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2024-08-17 23:08:55 +02:00
| type | [BladeburnerActionType ](./bitburner.bladeburneractiontype.md ) \| \`${[BladeburnerActionType](./bitburner.bladeburneractiontype.md)<!-- --> }\` | Type of action. |
| name | [BladeburnerActionName ](./bitburner.bladeburneractionname.md ) \| \`${[BladeburnerActionName](./bitburner.bladeburneractionname.md)<!-- --> }\` | Name of action. Must be an exact match. |
2024-10-01 05:18:25 +02:00
| size | number | Number of team members to set. Must be a non-negative integer. |
2022-10-21 17:16:00 +02:00
2023-02-11 19:18:50 +01:00
**Returns:**
2022-10-21 17:16:00 +02:00
number
Number of Bladeburner team members you assigned to the specified action.
## Remarks
RAM cost: 4 GB
Set the team size for the specified Bladeburner action.
Returns the team size that was set, or -1 if the function failed.