The Screen Shake action shakes the view.

Duration

The amount of time (in seconds) to shake the screen. Generally, screen shakes are best when they are short.

Amplitude

The size of the shake. How far the virtual camera should move during the shake.

Pattern Type

The type of movement to use when shaking. Options are:

  • Random - Move the camera randomly
  • Linear - Move the camera at a specified angle.

Frequency

If using the Linear pattern type, this value specifies the number of times the shake animation should repeat during the duration of the shake.

Angle

If using the Linear pattern type, this value specifies the angle (in degrees) direction in which the camera should move.

Pro Tip

This action can be used to create many different effects. A classic screen shake (such as from an explosion) would likely use a Random pattern with an amplitude of 1/10th the height of the screen, and a very short duration. But you could also make, for example, the camera dip down dramatically when a heavy hammer is dropped on the floor. For that sort of effect, use a Linear pattern with a frequency of 1 and an angle of 90 degrees.