private void SetEntityField()
 {
     selectedScript.ToggleEntity();
 }