How do I use motion sensor conditions?

I cannot find any examples of motion sensor conditions for Gdevelop. I don’t learn very well with the manual and text, I need an example to learn how to do something. There are great examples of actions for motion sensors, but I can’t find any examples of how to make the conditions. My objective is simple: if the device shakes then the animation changes, but I’m not sure how to do that because I don’t know how to check for that. My code is below.

Sorry about this, i usually give links to video tutorials but presently i have none but this should help
http://wiki.compilgames.net/doku.php/gdevelop5/all-features/device-sensors

Cool, thanks for the link.