PlayerAPI.getActiveItem

Inherited from LivingEntityAPI

Example by JimmyHelp:
Returns an ItemStack representing the item the entity is currently using
If they're not using any item,
returns air
overload 1:
player:getActiveItem()
Method Property Fluent Description Representation
Return Value an ItemStack
a a