bitburner-src/markdown/bitburner.stanek.getfragment.md
omuretsu 06a985bdf8 Revert "Remove markdown from git tracking (#139)"
This reverts commit bbb6e3f309935aebac74ddb1fbeec12dfb7540b1.
2022-10-21 11:16:00 -04:00

32 lines
778 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [Stanek](./bitburner.stanek.md) &gt; [getFragment](./bitburner.stanek.getfragment.md)
## Stanek.getFragment() method
Get placed fragment at location.
<b>Signature:</b>
```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. |
<b>Returns:</b>
[ActiveFragment](./bitburner.activefragment.md) \| undefined
The fragment at \[rootX, rootY\], if any.
## Remarks
RAM cost: 5 GB