MouseX and mouseY in MouseKeyboard?

For questions about using Classic.

Post » Thu Jun 14, 2012 4:07 pm

Whenever I try to acquire MouseX from MouseKeyboard in an expression, I always get "MouseX is not an expression in MouseKeyboard".

How can I acquire the position of the mouse?
B
2
G
1
Posts: 38
Reputation: 526

Post » Thu Jun 14, 2012 6:50 pm

Just use MouseX and MouseY they are System expressions.
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Fri Jun 15, 2012 1:42 pm

@akaja
"Whenever I try to acquire MouseX from MouseKeyboard in an expression,"

If I am not mistaken, I assume you did something like "MouseKeyboard.MouseX"?

If that is the case, then follow R0J0's direction. Just remove the "MouseKeyboard." and use "MouseX" or "MouseY" arbitrarily for the respective mouse positions.
B
8
S
2
Posts: 40
Reputation: 2,136


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests