# Tool:SetObject

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

```lua
Tool:SetObject( number id, Entity ent, Vector pos, PhysObj phys, number bone, Vector normal )
```

## Açıklama

Tool'da daha sonra kullanmak üzere bir [Entity](https://gmod.tr/wiki/Entity) (varlık) saklar.

Saklanan değerler [Tool:GetEnt](https://gmod.tr/wiki/Tool:GetEnt), [Tool:GetPos](https://gmod.tr/wiki/Tool:GetPos), [Tool:GetLocalPos](https://gmod.tr/wiki/Tool:GetLocalPos), [Tool:GetPhys](https://gmod.tr/wiki/Tool:GetPhys), [Tool:GetBone](https://gmod.tr/wiki/Tool:GetBone) ve [Tool:GetNormal](https://gmod.tr/wiki/Tool:GetNormal) ile alınabilir.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **id**: Saklanacak nesnenin kimliği (ID).
2. [Entity](https://gmod.tr/wiki/Entity) **ent**: Saklanacak varlık.
3. [Vector](https://gmod.tr/wiki/Vector) **pos**: Saklanacak pozisyon. > **NOT:** bu pozisyon **global uzaydadır** ve dahili olarak nesneye göre **yerel uzaya** dönüştürülür, bu nedenle daha sonra aldığınızda nesnenin yeni pozisyonuna göre düzeltilecektir
4. [PhysObj](https://gmod.tr/wiki/PhysObj) **phys**: Saklanacak fizik nesnesi.
5. [number](https://gmod.tr/wiki/number) **bone**: Saklanacak isabet kemiği.
6. [Vector](https://gmod.tr/wiki/Vector) **normal**: Saklanacak isabet normali.

- [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/Tool:SetObject
