Is there any way to detect to which direction the phone was shaked? For example: I want something be shot from the right border of the screen, so I need to look if a phone was shaked to the left (coordinates from the beginning of first movement). And nearly the same for the left border. Hope you understand.
Thanks a lot!