{"name":"getMass","operator":null,"title":"getMass","type":"command","url":"https://community.bistudio.com/wiki/getMass","revid":373891,"updated":"2025-06-26T11:00:13Z","groups":["PhysX"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.12"}],"since":{"game":"arma3","name":"Arma 3","version":"1.12"},"arma3_since":"1.12","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns mass of a PhysX object.","syntaxes":[{"syntax":"getMass object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"Number","types":["Number"],"description":null,"text":"Number"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}}],"examples":[{"text":"```sqf\n_mass = getMass _myCar;\n```","code":["_mass = getMass _myCar;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["getCenterOfMass","setCenterOfMass","setMass","load","weightRTD","getModelInfo"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: PhysX","Introduced with Arma 3 version 1.12","Scripting Commands"]}