2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [bitburner ](./bitburner.md ) > [NS ](./bitburner.ns.md ) > [args ](./bitburner.ns.args.md )
## NS.args property
2021-10-30 21:46:34 +02:00
Arguments passed into the script.
2021-10-30 18:34:14 +02:00
< b > Signature:< / b >
```typescript
2021-12-09 00:41:49 +01:00
readonly args: (string | number | boolean)[];
2021-10-30 18:34:14 +02:00
```
## Remarks
2021-11-03 23:16:10 +01:00
RAM cost: 0 GB
Arguments passed into a script can be accessed using a normal array using the \[\] operator (args\[0\], args\[1\], etc…).
2021-10-30 21:46:34 +02:00
It is also possible to get the number of arguments that was passed into a script using: 'args.length' WARNING: Do not try to modify the args array. This will break the game.
2021-10-30 18:34:14 +02:00