How to make dynamic Component children inherit the onClick message

No kidding, … in the other thread I had said:

The pin and the frame leaf which would not rotate, so they’d be wrapped into a component attached to the frame.

Basically you are not listening.

You do NOT tell child sub-components that the parent was clicked.
The parent WHEN CLICKED, tells the child components TO ANIMATE.
I showed above how to do this in the parent.

Since a picture is worth a thousand words, this is a graphic representation of the component hierarchy as it should be.

The “DOOR_ASSEMBLY” sub-component rotates. The “FRAME_ASSEMBLY” sub-component stays stationary.

1 Like