# util.IsInWorld

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/util.IsInWorld
- **Çeviri tarihi:** 2025-09-08

```lua
boolean util.IsInWorld( Vector position )
```

## Açıklama

Belirtilen bir pozisyonun dünya sınırları içinde olup olmadığını kontrol eder.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **position**: Kontrol edilecek pozisyon.

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

1. [boolean](https://gmod.tr/wiki/boolean): Vektörün dünya içinde olup olmadığı.

### Örnek

Bu fonksiyonun davranışını istemci tarafında taklit etmek için kullanabileceğiniz bir yöntem aşağıda verilmiştir.

(Bu, sunucu taraflı fonksiyondan daha az verimli olabilir)

```lua
local tr = { collisiongroup = COLLISION_GROUP_WORLD, output = {} }

function util.IsInWorld( pos )
	tr.start = pos
	tr.endpos = pos

	return not util.TraceLine( tr ).HitWorld
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/util.IsInWorld
