set action pause||doc135547

September 20, 2022

Format

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

Description

Sets the entity action to pause (frozen state).


Parameters

Variable name type Description
isPause boolean whether to suspend


Code Samples

on the entity object clientmount script, set the entity action to pause

this:setActorPause(true)