Class: A_StopMove

b5. A_StopMove

b5.A_StopMove

new b5.A_StopMove(target, stop_vx, stop_vy, stop_vr, duration){b5.A_StopMove}

actions/generic/movement.js, line 39

Action that stops an object from moving 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 | b5.Actor

Path to or instance of target object

stop_vx boolean

Stops x velocity

stop_vy boolean

Stops y velocity

stop_vr

Stops rotational velocity

duration number

Amount of time to wait before stopping in seconds

Returns:
Type Description
b5.A_StopMove The created action