---
name: "getMass"
type: command
status: ok
groups: ["PhysX"]
arma3_since: "1.12"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getMass
revid: 373891
updated: 2025-06-26T11:00:13Z
---

# getMass

*Command · PhysX · Arma 3 v1.12*

Locality: arguments **global**

## Description

Returns mass of a PhysX object.

## Syntax

```sqf
getMass object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_mass = getMass _myCar;
```

## See also

[getCenterOfMass](../commands/getCenterOfMass.md) · [setCenterOfMass](../commands/setCenterOfMass.md) · [setMass](../commands/setMass.md) · [load](../commands/load.md) · [weightRTD](../commands/weightRTD.md) · [getModelInfo](../commands/getModelInfo.md)

<sub>Source: [BI Community Wiki — getMass](https://community.bistudio.com/wiki/getMass) (revision 373891).</sub>
