How do I tell the pc the mouse of moving from left to right?

Get help using Construct 2

Post » Sun Apr 03, 2016 1:58 am

I want to create an event that triggers only when the mouse moves from left to right or viceversa. I tried with creating a variable and setting it at ondragstart and than another variable set at ondrop. then I tried with comparing the two variables. if the first is less than the second than the mouse is moving from left to right but it doesn't work. the event created doesn't trigger anything. what am I doing wrong?
B
14
S
6
Posts: 56
Reputation: 1,212

Post » Sun Apr 03, 2016 5:25 am

Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896


Return to How do I....?

Who is online

Users browsing this forum: amazingdream and 25 guests