its an extension on penguinmod called "looks expanded", and if u use the warp command block and then put the "pick random" block in it, it allows u to make em shake (yes, this works for the backdrop, and images too)
can i do it on scratch?
i doubt it