$BUTTON_ID

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

Use this script to return a button identifier.

FORMAT: $BUTTON_ID


DEFINITIONS:

  • Button ID: Text entered into the ID panel on the behavior tab of any button.

EXAMPLE 1:

show "my button id is " + $BUTTON_ID

Returns the text "my button id is " with the button ID of this button.