CollisionShape shape resorce values how to acces them via code

Godot Version

4.3

Question

I’m trying to get the size values from the shape collider to a variable in a script. the collider of the script owner is it’s child.

Can you use @onready var.... for defining the Collision variable?

That should work, what goes wrong when you run the game?