OVERLAP

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 return instances (from the giv­en definitions below) that over­lap for any part of the time­line.

FORMAT: OVERLAP (instances, instances)


DEFINITIONS:

  • Instances: labels or instances

EXAMPLE 1

$var = overlap ("label 1", "label 2")
show count $var
show $var

Returns all instances which contain "label 1" and which overlap with any instance which contains "label 2".

EXAMPLE 2

$var = overlap ("label 1" where row = "row 1", "label 2" where row = "row 2")
show count $var
show $var

Returns all instances which contain "label 1" in "row 1" and which overlap with any instance which contains "label 2" in "row 2".