MOVE BUTTON FRONT
Generally used with the IF command, this script moves a button to the front of the code window.
FORMAT: MOVE BUTTON FRONT
EXAMPLE 1:
MOVE BUTTON FRONT
Moves this button to the front of the code window.
EXAMPLE 2:
$team = #"team3"
IF ( $team = "Spain", MOVE BUTTON FRONT)
Obtains the name of the button with the ID name "team3" and uses it in the $team variable. If the button in the same code window named with the value in $team is "Spain", then the current button will move to the front of the code window.