class Foo{ public bool Interactable { get; set; } = true; private List<int> _stuff; public List<int> Stuff { get => _stuff; set { if (Interactable) _stuff = value; } }}