endActiveNode() {
            if (typeof this.timeline_parameters == "undefined") {
                this.end();
                this.parent_node.end();
            }
            else {
                this.timeline_parameters.timeline[this.progress.current_location].endActiveNode();
            }
        }
// recursively end whatever sub-node is running the current trial

recursively end whatever sub-node is running the current trial
recursively end whatever sub - node is running the current trial
endActiveNode() {
            if (typeof this.timeline_parameters == "undefined") {
                this.end();
                this.parent_node.end();
            }
            else {
                this.timeline_parameters.timeline[this.progress.current_location].endActiveNode();
            }
        }
endActiveNode ( ) { if ( typeof this . timeline_parameters == "undefined" ) { this . end ( ) ; this . parent_node . end ( ) ; } else { this . timeline_parameters . timeline [ this . progress . current_location ] . endActiveNode ( ) ; } }
recursively end whatever sub-node is running the current trial
recursively end whatever sub - node is running the current trial