Could I insert the arrow timeline into my main navigation timeline like this?
clientTimeline1.add(currentMarker)
.set($('#section_home'), {css:{zIndex:-1}})
.fromTo("#section_1", 0.3, {opacity:0, y:10}, {opacity:1, y:20})
.set($('#section_1'), {css:{zIndex:99}})
.add("submenu-1") //end point for home
.to("#section_1", 0.3, {opacity:0, y:-300})
.set($('#section_1'), {css:{zIndex:-1}}) //changing z-index so btns work
.fromTo("#section_1-1", 0.3, {opacity:0, y:1000}, {opacity:1, y:10})
.set($('#section_1-1'), {css:{zIndex:99}})
.add("submenu-2") //end point for about us
.to("#section_1-1", 0.3, {opacity:0, y:-500})
.set($('#section_1-1'), {css:{zIndex:-1}})
.fromTo("#section_1-2", 0.3, {opacity:0, y:500}, {opacity:1, y:-100}, "-=0.1")
.set($('#section_1-2'), {css:{zIndex:99}})
.add("submenu-3") //end point for what drives us
.to("#section_1-2", 0.3, {opacity:0, y:-500})
.set($('#section_1-2'), {css:{zIndex:-1}})
.fromTo("#section_1-3", 0.3, {opacity:0, y:600}, {opacity:1, y:0}, "-=0.1")
.set($('#section_1-3'), {css:{zIndex:99}})
.add("mainmenu-2") //end point for meet the team
.to("#section_1-3", 0.3, {opacity:0, y:-500})
.set($('#section_1-3'), {css:{zIndex:-1}})
.fromTo("#section_2", 0.3, {opacity:0, y:800}, {opacity:1, y:60}, "-=0.1")
.set($('#section_2'), {css:{zIndex:99}})
//first arrow animation
.to("#arrow", {
motionPath: {
path: "#motionPath",
align: "#motionPath",
autoRotate: -90,
alignOrigin: [0.5, 0.6],
start: 0,
end: 1
}
})
.from(
"#motionPath",
{
drawSVG: 0,
},
0
)