how can change gravity_scale?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abbos

Hello, how can you change the gravity_scale variable in RigidBody2D via script?
What are the ways to change gravity_scale?

:bust_in_silhouette: Reply From: dustin

gravity_scale = 1 #your number