# Panel:GetClosestChild

- **Ortam:** İstemci, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Panel:GetClosestChild
- **Çeviri tarihi:** 2025-09-08

```lua
Panel, number Panel:GetClosestChild( number x, number y )
```

## Açıklama

Bu panel nesnesinin, belirtilen noktaya en yakın olan alt nesnesini döndürür. Nokta, metodun çağrıldığı nesneye görecelidir. Alt nesnenin bu noktaya olan uzaklığı da döndürülür.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **x**: Noktanın yatay (x) konumu.
2. [number](https://gmod.tr/wiki/number) **y**: Noktanın dikey (y) konumu.

## Döndürülenler

1. [Panel](https://gmod.tr/wiki/Panel): Belirtilen noktaya en yakın olan alt nesne.
2. [number](https://gmod.tr/wiki/number): Bu alt nesnenin noktaya olan uzaklığı.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Panel:GetClosestChild
