{"name":"BIS_fnc_magnitude","title":"BIS fnc magnitude","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_magnitude","revid":349333,"updated":"2023-11-08T14:53:28Z","groups":["Vectors"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns the magnitude of an array of numbers. The vector can have any number of elements.\n\n> [!NOTE]\n> **Arma 3:** Use vectorMagnitude instead","syntaxes":[{"syntax":"vector call BIS_fnc_magnitude","params":[{"name":"vector","type":"Array","description":"vector","type_expr":"Array"}],"returns":{"type":"Array","type_expr":"Array","description":"new vector"}}],"examples":[{"code":["[5,3] call BIS_fnc_magnitude;"]}],"see_also":["BIS_fnc_crossProduct","BIS_fnc_magnitudeSqr","BIS_fnc_vectorFromXToY"]}