Button Play and Stop at one timeline

Using this code. First button are working (stop at certain frame) but second one not working (not stop at certain frame)

parent.on(“pointerdown”, (e) => {
function stopTimeline(){
symbol.controllers.CGAME_COUNTCAR3.elements.RIGHT1.stop();
}

symbol.controllers.CGAME_COUNTCAR3.elements.RIGHT1.labels.R1.play();
Z.after(3800, stopTimeline);
});