using System; int searchId = 796960578; Log("Suche Item..."); foreach (var item in FloorItems) { if (item == null) continue; if (item.Id == searchId) { Log("=== ITEM GEFUNDEN ==="); Log("ID: " + item.Id); Log("Position: X=" + item.Location.X + ", Y=" + item.Location.Y); Log("Kind: " + item.Kind); break; } } Log("Suche beendet.");