Class: A_CamLimitMove

b5. A_CamLimitMove


new b5.A_CamLimitMove(target, area, hit, bounce){b5.A_CamLimitMove}

actions/generic/camera.js, line 411

Action that limits movement of scene camera to within a rectangular area, does not exit

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.Scene

Path to or instance of scene that contains camera that will be limited

area Array.<number>

Rectangular area limit [x,y,w,h]

hit string

Action to perform when object oversteps boundary (bounce, wrap, stop)

bounce number

Bounce factor

Type Description
b5.A_CamLimitMove The created action