the error was action player()
player cann't as action