Phaser API Documentation

intensity: Phaser.Math.Vector2


The intensity of the effect. Use small float values. The default when the effect starts is 0.05. This is a Vector2 object, allowing you to control the shake intensity independently across x and y. You can modify this value while the effect is active to create more varied shake effects.

Since: 3.5.0