I want to create an icon that becomes visible when the player is within a certain range. I thought of creating an actor with a sphere collision component that makes the icon visible when the player overlaps and invisible when the overlap ends.
Then I realized I wanted to add this functionality to multiple actors, so I considered turning it into a component. However, I encountered the issue that I can’t add a sphere collision component inside a component. How can I solve this? Is it not possible to create a component this way?