{"name":"currentThrowable","title":"currentThrowable","type":"command","url":"https://community.bistudio.com/wiki/currentThrowable","revid":377712,"updated":"2026-01-02T09:03:53Z","groups":["Weapons","Unit Inventory"],"status":"ok","games":{"arma3":"1.48"},"since":"arma3 1.48","arma3_since":"1.48","description":"Returns currently selected throwable (and the muzzle it is loaded into), which will be launched if the user presses <kbd>G</kbd>.","syntaxes":[{"syntax":"currentThrowable unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Array","type_expr":"Array","description":"with [magazineName, muzzleName, id, ammoCount]\n- magazineName: String - muzzleName: String - id: Array of Number pairs: [itemWorldID, creatorID] - Arma 3 v2.22 ammoCount: Number - magazine ammo","text":"Array with [magazineName, muzzleName, id, ammoCount]\n\n- magazineName: String\n- muzzleName: String\n- id: Array of Number pairs: [itemWorldID, creatorID]\n- Arma 3 v2.22 ammoCount: Number - magazine ammo"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["currentThrowable player; // [\"SmokeShellGreen\", \"SmokeShellGreenMuzzle\", [1.00002e+007, 0], 1]"]},{"text":"```sqf\n_ct = currentThrowable player;                // [\"HandGrenade\", \"HandGrenadeMuzzle\", [1e+007, 0], 1]\n_id = (_ct select 2 select 0) - 1e7;        // 18\n```","code":["_ct = currentThrowable player;\t\t\t\t// [\"HandGrenade\", \"HandGrenadeMuzzle\", [1e+007, 0], 1]\n_id = (_ct select 2 select 0) - 1e7;\t\t// 18"]}],"see_also":["selectThrowable","currentWeapon","currentMagazine","currentMuzzle","BIS_fnc_isThrowable"]}