Home > bitburner > Stanek > getFragment
Get placed fragment at location.
Signature:
getFragment(rootX: number, rootY: number): ActiveFragment | undefined;
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. |
Returns:
ActiveFragment | undefined
The fragment at [rootX, rootY], if any.
RAM cost: 5 GB