using Godot; using System.Collections.Generic; using System; using System.Threading.Tasks; using System.Reflection; namespace Rokojori { public static class ControlExtensions { public static Vector2 GetCenter( this Control control ) { return control.Position + control.Size * 0.5f; } } }