ok a new question can you tell me when i add the condition of is withen angle .the question is withen angle in relation to what ? i am very confused if there is an angle there should be a center for that angle and i dont understand that condition very well can you explain it panda-kun ?
sagerx the origin of the angle is the origin of the object used in the events. (in the example it's Splayer)
It's used in relation with the mouse cursor. (in the example mouse cursor=Sscope)
This picture can help you to understand how it works, the center is the origin of the object you use as a reference in the events. (Splayer in the example)
If you click below the object origin (X is the same but Y is bigger) the angle is 270°.
If you click top right of the object origin (X is bigger, Y is lesser) the angle is 45°.
etc...