player logo||doc136127

September 20, 2022

Format

 Object.isPlayer 
  • The class to which the attribute belongs:Object

Description

Determine if the object is a player.


Value Returned

type Description
boolean Is it a player


Code Samples

Whether the output object is the player

local isPlayer = object.isPlayer 
print(isPlayer)