get basic moves||doc135460

September 20, 2022

Format

 Entity:getBaseAction() 
  • The class to which the function belongs:Entity

Description

Get the name of the base action played by the current entity object.


Value Returned

type Description
string Action name


Code Samples

on the client side of the objectmount script, get the name of the base action played by the current entity object

local baseAction = entity:getBaseAction()