shake(intensity: number): void

Camera shake.
// shake intensively when bean collides with a "bomb"
bean.onCollide("bomb", () => {
    shake(120)
})
kaplay logo

3001.0.0-alpha.18

Misc