gravity property

double gravity
final

The gravity is the speed at which the confetti will fall. The higher the gravity the faster it will fall.

It can be set to a value between 0 and 1 Default value is 0.1

Implementation

final double gravity