Trying to animate a component with two drawers that move in two axis

I am trying to animate two drawers, one is fixed inside another. First one moves in the Y axis and then the second one moves in the X axis after the first drawer has finished moving. Thanks

What version of SketchUp are you using? Your profile says SketchUp Free (web only) and SketchUp 2017 (presumably Make?) In either case you wouldn’t be able to create a dynamic component but you could create an animation using multiple copies of the drawer components in incremental positions in their path and then use tags/layers and scenes to create the animation. Here I’ve animated a folding table top that opens and swivels using this method. This only shows some of the copies of the top.