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
15
S
6
Posts: 56
Reputation: 1,237

Post » Sun Apr 03, 2016 5:25 am

B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests