Disabling child actor component

Hey! New to Unreal Engine, coming from Unity, so apologies if there is a simple solution to my problem. I’m currently setting up a weather system in my game but cannot deactivate a child actor. Maybe I am unclear on how actors work in UE4 but in Unity I achieved this system easily by creating child gameobjects (with the relevant components) and simply enabling / disabling the child object. Is a child actor component in UE4 the same as a child gameobject? Basically I have a weather controller (child actor component) attached to the player. This weather controller has 2 child actor components itself (rain and snow). The rain and snow actors have audio + particle system components. I am trying to disable the rain or snow child actor components (so the audio + particle systems will automatically disable) but cannot achieve this for some reason. When I call deactivate or set active, nothing happens.

109786-wc2.png

.

Welcome to Unreal Engine! What you can do to solve this issue is by getting the child actor from the child actor component, then casting that to your actor, then you can deactivate it from there. In my example below I press G to toggle those systems.

Cheers, that works.