player entity||doc136152

September 20, 2022

Format

 Blockman.player
  • The class to which the attribute belongs:Blockman

Description

Player instance, get the player instance of the main player in the client.


Value Returned

type Description
Player The player entity controlled in the local client


Code Samples

Get game settings

local bm = Blockman.Instance()
print(bm.player)