# CUserCmd:GetMouseWheel

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/CUserCmd:GetMouseWheel
- **Çeviri tarihi:** 2025-09-08

```lua
number CUserCmd:GetMouseWheel()
```

## Açıklama

Kaydırma deltasını tam sayı olarak döndürür.

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

1. [number](https://gmod.tr/wiki/number): Kaydırma deltası

### Örnek

```lua
hook.Add( "StartCommand", "StartCommandExample", function( ply, cmd )
	if ( cmd:GetMouseWheel() != 0 ) then print( ply, " scrolled ", cmd:GetMouseWheel()) end
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/CUserCmd:GetMouseWheel
