bitburner-src/markdown/bitburner.stanek.getfragment.md
2022-03-29 15:49:31 -04:00

778 B

Home > bitburner > Stanek > getFragment

Stanek.getFragment() method

Get placed fragment at location.

Signature:

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.

Returns:

ActiveFragment | undefined

The fragment at [rootX, rootY], if any.

Remarks

RAM cost: 5 GB