So I’m working on a project where I have numerous objects in a folder that can all be interacted with. In a LocalScript, I’m using RunService.RenderStepped to constantly do a check with every object to see if the LocalPlayer’s character is within range of any of the interactable objects. I was at first planning on just doing a loop but then I heard about CollectionService and wondered if that would be better performance-wise.
Should I use CollectionService:GetTagged(“Interactable”) or a simple loop. I just discovered CollectionService recently and only used it once so I don’t know much about it.