CharacterBody2D.

Gravity Property

Summary

The acceleration that gravity is currently applying to this body.

Syntax

public virtual Vector2 Gravity { get; }

Value

Type Description
Vector2