Player

Player

class

Local player controller

Functions

Player.get()

The local player, nil outside a game session

returns Player Local player

Player:hotbar_has(item)

Whether an item stands in a hotbar slot of any modifier row

item StaticItem Item to look for

returns boolean True when a slot holds the item

Inherited from Actor (2)
Inherited from Object (5)