ReferenceScripting APIStagegravity
Stage.gravity
propertyThe 2D world's gravity, pixels a second a second (y down).
| Name | gravity |
|---|---|
| Kind | property of Stage |
| Called as | stage.gravity |
| Since | 0.4 |
Syntax
readonly gravity: Vector3See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.