Get player action information||doc135629

September 20, 2022

Format

 Blockman:getUserAction()
  • The class to which the function belongs:Blockman

Description

Get player action information.


Value Returned

type Description
table Click or touch operation performed by the player, operation parameters, operation UI


Code Samples

local bm = Blockman.Instance()
local info = bm:getUserAction()
print(info)