User Tools

Site Tools


shake_screen

This is an old revision of the document!


Shake Screen


Shakes the screen for the specified number of seconds. The strength, factor, and magnitude values can be adjusted to customize the screen shake. Experiment with each setting to find what looks best for your particular scenario!

Signature:

shake_screen(duration, strength, factor_x, factor_y, magnitude_x, magnitude_y)
ArgumentDescriptionTypeRequired
durationDuration of time to shake the screen (in seconds).NumberYes
strengthDefaults to 5.NumberNo
factor_xDefaults to 50.NumberNo
factor_yDefaults to 25.NumberNo
magnitude_xDefaults to 80.NumberNo
magnitude_yDefaults to 80.NumberNo

Example:

 

Results:

Use the Shake Screen function to…


Editor Node:

shake_screen.1740180507.txt.gz · Last modified: 2025/02/21 15:28 by justin