Pause and Play for video in one script?


Hey guys,

sorry this is driving me crazy, usually using software like Unity I would use booleans and if statements to determine if and how many times a button has been pressed to pause and play

I can successfully get the video to pause once a user clicks or pointerdown on the video but the question is how do I play the video from where it left off by clicking the video again

So a pause and play in one script by touching the video. The pause works.

This is what I have so far

parent.on(“pointerdown”, (e) => {


var MOA_for_zap_comp_mp40 = symbol.nodes.MOA_for_zap_comp_mp40


//want to play or 'start' when clicked again...



hey guys, I fixed it just had to reformat my original if else statement with Boolean condition