mp.isConnected command causing errors

The following creates errors:

Is the “mp.isConnected” functionality available yet? I couldn’t find documentation.

Trying to check to see how many people are connected to create a 2- 3- and 4-player game without asking the players how many players there are.

1 Like

Use if else by clicking the plus on the if block instead of 4 seperate if blocks

1 Like

That’s not the issue. The “player x connected” feature crashes MakeCode.

1 Like

I was thinking of an alternative that might not crash, I’m not too sure what the issue is sorry! :sweat_smile:

1 Like