Open lggauci opened 8 years ago
When the user clicks and the player is in the air the player will not be able to move.
This can be done using the by using booleans, for example when the player is on the ground (boolean) canMove is equal to false and when he is in the air the boolean is set to false.
When the user clicks and the player is in the air the player will not be able to move.