bitburner-src/markdown/bitburner.bladeburner.getcurrentaction.md

764 B
Raw Blame History

Home > bitburner > Bladeburner > getCurrentAction

Bladeburner.getCurrentAction() method

Get current action.

Signature:

getCurrentAction(): BladeburnerCurAction;

Returns:

BladeburnerCurAction

Object that represents the players current Bladeburner action.

Remarks

RAM cost: 1 GB

Returns an object that represents the players current Bladeburner action. If the player is not performing an action, the function will return an object with the type property set to “Idle”.