Garry's Mod Wiki

PhysObj:IsGravityEnabled

  boolean PhysObj:IsGravityEnabled()

Description

Returns whenever the entity is affected by gravity.

Returns

1 boolean
true if the gravity is enabled, false otherwise