razorMonkey wrote:Problem is that your different paralax is influencing touch.x and y.
Thats why you must take it into account.
Adding scroll.x/y - originalwindowheight/width should do it, I believe.
Try to put into your line 4 this expressions:
angle(Touch.X - (scrollx - OriginalWindowWidth/2), Touch.Y - (scrolly - OriginalWindowHeight/2), Gear.X, Gear.Y)
min(abs(distance(Touch.X- (scrollx - OriginalWindowWidth/2), Touch.Y- (scrolly - OriginalWindowHeight/2), Gear.X, Gear.Y)) / 1, 100)
thank you for help.
I already solved this problem last night, it's just add layer index after touch.X and touch.Y so it's look like = touch.X(2),touch.Y(2), Gear...