main player logo||doc136125

September 20, 2022

Format

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

Description

Determines whether the object is the main player of the client.


Value Returned

type Description
boolean Whether the main client player


Code Samples

Whether the output object is the main player of the client

local isMainPlayer = object.isMainPlayer 
print(isMainPlayer)