[Home](./index.md) > [bitburner](./bitburner.md) > [Bladeburner](./bitburner.bladeburner.md) > [getStamina](./bitburner.bladeburner.getstamina.md) ## Bladeburner.getStamina() method Get bladeburner stamina. Signature: ```typescript getStamina(): [number, number]; ``` Returns: \[number, number\] Array containing current stamina and max stamina. ## Remarks RAM cost: 4 GB Returns an array with two elements: \* \[Current stamina, Max stamina\] ## Example ```ts function getStaminaPercentage() { let res = bladeburner.getStamina(); return res[0] / res[1]; } ```