private void RenderForm_MouseClick(object sender, MouseEventArgs e) { foreach (var item in LayerList.Reverse()) { if (!IsInRecs(e, item.Value, out Mathe.RawRectangleF recF)) { continue; } item.Value.OnClicked(e, recF); break; } }