Class: A_SetProps

b5. A_SetProps

b5.A_SetProps

new b5.A_SetProps(target, properties){b5.A_SetProps}

actions/generic/general.js, line 60

Action that sets a group of properties of an object to specified values then exits

Created actions should be added to an actor or scenes actions list to be processed

For a complete overview of Actions see Booty5 Actions Overview

Name Type Description
target string | object

Path to or instance of target object to change properties of

properties object

Property / value pairs that will be set (e.g. {"vx":0,"vy":0})

Returns:
Type Description
b5.A_SetProps The created action