There are 2 players in a room
What I want to happen:
When I press 1, player 1 is enlarged and when 2 was pressed, player 2 is enlarged
If anyone want the capx i will send it
Can't open the project because of missing plugin. But a guess:
Did you make sure that jugador.jugador is set correctly for both objects? And is jugador.jugador a string or a number? Because your function parameter is a string and you might attempt to compare a string to a number.
Develop games in your browser. Powerful, performant & highly capable.
Yes, I will try to change string to number thanks
Thanks it worked