I want to show/hide a StaticMeshComponent using a button in a widget.
The issue is that the staticmeshcomponent is inside a blueprint, inside a blueprint himself (referenced as a Child Actor Component).
How can I target this Static Mesh Component ? I’ve tried cast to nodes but Child Actor can’t be used as object in these nodes. I’ve tried the “set visibility” node but can’t target the StaticMeshComponent directly from the widget without casting…
Any idea ?