Player.getCharacter
Returns the character the player is controlling.
Kind: Function
Environments: Game
Game
player:getCharacter( )
Parameters:
| Name | Type | Description |
|---|---|---|
player |
Player | The player. |
Returns:
| Type | Description |
|---|---|
| Character | The player's character. |