sqiddster and kittiewan, thank you for a great solution!
Apparently, i was figuring out to set animation instead of set frame, i got a type mismatch because it requires a string, not a expression like you did it.
I added an event like compare frame... but it didn't work :(
1-System| Every Tick:
--Sprite| Set Animation Frame to: floor((angle(sprite2.X,sprite2.Y,self.X,self.Y) + 180 + 22.5) / (360 / 8))
2-Sprite| Animation frame = 3:
--Sprite| Set animation to "Random Animation" (play from beggining)
Do you have ideas what i should to do?