# Class cocos.actions.move_actions.BoundedMove

    base_actions.Action --+
                          |
                       Move --+
                              |
                             BoundedMove

Move the target but limit position when it hits certain bounds.

Position is bounded to 0 < x < width and 0 < y < height taking into account the dimenstions of the target.

## Methods

| init(self, width, height) Init method.
| step(self, dt)
| __add__(self, action) sequence operator - concatenates actions action1 + action2 -> action_result where action_result performs as: first do all that action1 would do; then perform all that action2 would do (Inherited from cocos.actions.base_actions.Action)
| __init__(self, *args, **kwargs) dont override - use init (Inherited from cocos.actions.base_actions.Action)
| __mul__(self, other) repeats ntimes the action action * n -> action_result where action result performs as: repeat n times the changes that action would do (Inherited from cocos.actions.base_actions.Action)
| __or__(self, action) spawn operator - runs two actions in parallel action1 | action2 -> action_result (Inherited from cocos.actions.base_actions.Action)
| __reversed__(self) (Inherited from cocos.actions.base_actions.Action)
| done(self) False while the step method must be called. (Inherited from cocos.actions.base_actions.Action)
| start(self) External code sets self.target and then calls this method. (Inherited from cocos.actions.base_actions.Action)
| stop(self) When the action must cease to perform this function is called by external code; after this call no other method should be called. (Inherited from cocos.actions.base_actions.Action)

## Instance Variables

| target CocosNode object that is the target of the action (Inherited from cocos.actions.base_actions.Action)

## Method Details

### init

init(self, width, height)
Init method.

Parameters:
  width : integer
    The width to bound position at.
  height : integer
    The height to bound position at.
Overrides:
  base_actions.Action.init

### step

step(self, dt)

Overrides:
  Move.step