# Panel:GetPos

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

```lua
number, number Panel:GetPos()
```

## Açıklama

Panelin pozisyonunu, ebeveyni olan [Panel:GetParent](https://gmod.tr/wiki/Panel:GetParent)'e göre döndürür.

Eğer panelin pozisyonuna **ve** boyutuna ihtiyacınız varsa, bunun yerine [Panel:GetBounds](https://gmod.tr/wiki/Panel:GetBounds) kullanmayı düşünün.

Eğer pozisyonu ekran uzayında (screen space) istiyorsanız, [Panel:LocalToScreen](https://gmod.tr/wiki/Panel:LocalToScreen)'e bakın.

Ayrıca bakınız: [Panel:GetX](https://gmod.tr/wiki/Panel:GetX) ve [Panel:GetY](https://gmod.tr/wiki/Panel:GetY).

## Döndürülen Değerler

1. [number](https://gmod.tr/wiki/number): X koordinatı, bu panelin ebeveyninin sol üst köşesine göre.
2. [number](https://gmod.tr/wiki/number): Y koordinatı, bu panelin ebeveyninin sol üst köşesine göre.

- [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:GetPos
