# CMoveData:KeyWasDown

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

```lua
boolean CMoveData:KeyWasDown( number key )
```

## Açıklama

Tuşun basılı olup olmadığını döndürür.

[CMoveData:KeyDown](https://gmod.tr/wiki/CMoveData:KeyDown)'dan farklı olarak, [CMoveData:KeyPressed](https://gmod.tr/wiki/CMoveData:KeyPressed) `true` ise bu fonksiyon `false`, [CMoveData:KeyReleased](https://gmod.tr/wiki/CMoveData:KeyReleased) `true` ise `true` döndürür.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **key**: Test edilecek tuş, bakınız: [IN enum](https://gmod.tr/wiki/Enums/IN)

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

1. [boolean](https://gmod.tr/wiki/boolean): Tuşun basılı olup olmadığı

- [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/CMoveData:KeyWasDown
