code: def trigger_hats(self, command, arg=None, callback=None):
          
          threads = []
          for scriptable in [self.project.stage] + self.project.sprites:
              threads += self.trigger_scriptable_hats(scriptable, command, arg,
                                                      callback)
          return threads
docs: Returns a list with each script that is triggered.