2021-12-03 22:14:13 +01:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2022-03-29 21:49:31 +02:00
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [Stanek](./bitburner.stanek.md) > [getFragment](./bitburner.stanek.getfragment.md)
|
2021-12-03 22:14:13 +01:00
|
|
|
|
2022-03-29 21:49:31 +02:00
|
|
|
## Stanek.getFragment() method
|
2021-12-03 22:14:13 +01:00
|
|
|
|
|
|
|
Get placed fragment at location.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2022-03-29 21:49:31 +02:00
|
|
|
getFragment(rootX: number, rootY: number): ActiveFragment | undefined;
|
2021-12-03 22:14:13 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| rootX | number | X against which to align the top left of the fragment. |
|
|
|
|
| rootY | number | Y against which to align the top left of the fragment. |
|
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
|
|
|
[ActiveFragment](./bitburner.activefragment.md) \| undefined
|
|
|
|
|
|
|
|
The fragment at \[rootX, rootY\], if any.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
2022-01-18 20:02:12 +01:00
|
|
|
RAM cost: 5 GB
|
2021-12-03 22:14:13 +01:00
|
|
|
|