How to get the global scale of CollisionShape?

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

How can I get the global scale of CollisionShape via gdscript?

:bust_in_silhouette: Reply From: LordViperion

CollisionObect.set_shape_transform

Var transform = get_node (“CollisionShape2D”). Get_shape ()
Var oldScale = transform.get_extents ()