Character.getPlayer

Returns the player controlling the character.

Kind: Function

Environments: Game

Game

character:getPlayer(  )

Open the full Game reference

Parameters:

Name Type Description
character Character The character.

Returns:

Type Description
Player The player controlling the character.