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) > [Stanek](./bitburner.stanek.md) > [getFragment](./bitburner.stanek.getfragment.md)
|
|
|
|
|
|
|
|
## Stanek.getFragment() method
|
|
|
|
|
|
|
|
Get placed fragment at location.
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
getFragment(rootX: number, rootY: number): ActiveFragment | undefined;
|
|
|
|
```
|
|
|
|
|
|
|
|
## 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. |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
[ActiveFragment](./bitburner.activefragment.md) \| undefined
|
|
|
|
|
|
|
|
The fragment at \[rootX, rootY\], if any.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
|
|
|
RAM cost: 5 GB
|
|
|
|
|