2022-10-21 11:16:00 -04:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [Bladeburner ](./bitburner.bladeburner.md ) > [startAction ](./bitburner.bladeburner.startaction.md )
## Bladeburner.startAction() method
Start an action.
2023-02-11 13:18:50 -05:00
**Signature:**
2022-10-21 11:16:00 -04:00
```typescript
2024-08-18 04:08:55 +07:00
startAction(
type: BladeburnerActionType | `${BladeburnerActionType}` ,
name: BladeburnerActionName | `${BladeburnerActionName}` ,
): boolean;
2022-10-21 11:16:00 -04:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2024-08-18 04:08:55 +07: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 |
2022-10-21 11:16:00 -04:00
2023-02-11 13:18:50 -05:00
**Returns:**
2022-10-21 11:16:00 -04:00
boolean
True if the action was started successfully, and false otherwise.
## Remarks
RAM cost: 4 GB
Attempts to start the specified Bladeburner action. Returns true if the action was started successfully, and false otherwise.
2023-11-03 19:48:46 -06:00
## Example
```js
ns.bladeburner.startAction("Contracts", "Tracking")
// This will start the Bladeburner Contracts action of Tracking
```