OVERLAP_LENGTH

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

This script will give the length (in seconds) of instances that over­lap with anoth­er instance in the time­line.

FORMAT: OVERLAP_LENGTH instances


DEFINITIONS:

  • Instances: labels or instances

EXAMPLE 1

$var = overlap_length instances
show round ($var, 1)

Returns the total length in sec­onds of all the time peri­ods where two or more instances occur, rounded to one decimal place.