I'm wondering how to shake a sprite, not like shake screen, just only a sprite.
My idea is:
Every Tick: Set position to:
X: random(100,200)
Y: random(100,200)
But it only needs to coordinate on the layout, i would like to have an alternative code that doesn't need to coordinate on the layout, do you have an idea?
Thanks!