2021-10-30 12:34:14 -04:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Bladeburner ](./bitburner.bladeburner.md ) > [getActionCountRemaining ](./bitburner.bladeburner.getactioncountremaining.md )
## Bladeburner.getActionCountRemaining() method
2021-11-03 00:27:21 -04:00
Get action count remaining.
2021-10-30 12:34:14 -04:00
< b > Signature:< / b >
```typescript
2021-11-03 00:27:21 -04:00
getActionCountRemaining(type: string, name: string): number;
2021-10-30 12:34:14 -04:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2021-11-03 00:27:21 -04:00
| type | string | Type of action. |
| name | string | Name of action. Must be an exact match. |
2021-10-30 12:34:14 -04:00
< b > Returns:< / b >
number
Remaining count of the specified action.
## Remarks
2021-10-30 15:46:34 -04:00
RAM cost: 4 GB
2021-10-30 12:34:14 -04:00
2021-11-03 00:27:21 -04:00
Returns the remaining count of the specified action.
2022-03-17 16:50:46 -04:00
Note that this is meant to be used for Contracts and Operations. This function will return ‘ Infinity’ for actions such as Training and Field Analysis. This function will return 1 for BlackOps not yet completed regardless of whether the player has the required rank to attempt the mission or not.
2021-11-03 00:27:21 -04:00