Character.isPlayer

Returns whether a character is owned by a player.

Kind: Function

Environments: Game

Game

character:isPlayer(  )

Open the full Game reference

Parameters:

Name Type Description
character Character The character.

Returns:

Type Description
boolean Whether the character is owned by a player.