I forgot to set a timer so I counted from the beginning of the video and counted the time until the last action