Skip to main content

$THIS_BUTTON

Use this script to return a button name.

FORMAT: $THIS_BUTTON


DEFINITIONS:

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

EXAMPLE 1:

show "my button name is " + $THIS_BUTTON

Returns the text "my button name is " with the button name of this button.

EXAMPLE 2:

$var = $THIS_BUTTON
show $var

Returns the text "HUDL" ("HUDL" being the name of this button).