Hi I am trying to extract the Y axis from region_rect, using the code:
var region = $Texture/Main/texture_main.get_region_rect(Vector2.AXIS_Y)
$Texture/Shadow/Shadow.region_rect = Rect2(384, region, 64, 64)
In order to use it in another region, I flipped through the documentation but did not quite understand how to handle one axis value