def _step(self, dt):
        for x in self.to_remove:
            if x in self.actions:
                self.actions.remove(x)
        self.to_remove = []

        if self.skip_frame:
            self.skip_frame = False
            return

        if len(self.actions) == 0:
            self.scheduled = False
            pyglet.clock.unschedule(self._step)

        for action in self.actions:
            if not action.scheduled_to_remove:
                action.step(dt)
                if action.done():
                    self.remove_action(action)

    # world to local / local to world methods
pumps all the actions in the node actions container
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode._step