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
S
1
G
1
Posts: 38
Reputation: 676

Post » Thu Jun 14, 2012 6:50 pm

Just use MouseX and MouseY they are System expressions.
B
101
S
39
G
134
Posts: 5,588
Reputation: 85,514

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
9
S
3
Posts: 40
Reputation: 2,261


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest