new b5.A_AddProps(target, properties){b5.A_AddProps}
actions/generic/general.js, line 89
Action that adds the specified values onto the specified properties 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 updated (e.g. {"vx":0,"vy":0}) |
Returns:
Type | Description |
---|---|
b5.A_AddProps | The created action |