previous upper action||doc135463

September 20, 2022

Format

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

Description

Get the last upper action of the current entity object.


Value Returned

type Description
string upper action


Code Samples

on the client side of the objectmount script, get the last upper action of the current entity object

local preUpperAction = this:getPrevUpperAction()