The script editor is where you can write VBScript, JavaScript or PowerShell in response to any events fired at a particular action.
Changing the highlighted action in the Target will change the script editor to show the available events and the script code for the selected event of the current action.
For more information on scripting see Scripting in FinalBuilder.