# input.SetCursorPos

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

```lua
input.SetCursorPos( number mouseX, number mouseY )
```

## Açıklama

İmlecin konumunu, pencerenin sol üst köşesine göre ekranda ayarlar.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **mouseX**: Fare konumu için X koordinatı
2. [number](https://gmod.tr/wiki/number) **mouseY**: Fare konumu için Y koordinatı

### Örnek

Kullanıcının imlecinin ekranında daire çizmesini sağlar.

```lua
hook.Add( 'HUDPaint', 'CircleScreen', function()
	input.SetCursorPos( ScrW() / 2 + math.sin(CurTime()) * ScrW() / 2, ScrH() / 2 + math.cos(CurTime()) * ScrH() / 2 )
end)
```

- [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/input.SetCursorPos
