GetMass - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns the mass of this object in Havok.

Syntax[edit | edit source]

float Function GetMass() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

This object's mass in Havok.

Examples[edit | edit source]

; Is this thing very heavy?
if (AnvilProperty.GetMass() > 2000)
  Debug.Trace("Wow, the anvil is heavy!")
endIf

See Also[edit | edit source]