How do I set mouse position on object??

Get help using Construct 2

Post » Mon Nov 14, 2016 9:59 pm

How do I set mouse cursor position on object ??
B
6
S
1
Posts: 8
Reputation: 366

Post » Thu Nov 17, 2016 7:49 am

Every tick, set obj.sprite x, y to mouse cursor x, y.
Be sure to look up the C2 manual. It has just about everything you need to know inside it.
B
14
S
3
G
3
Posts: 73
Reputation: 2,444

Post » Thu Nov 17, 2016 9:08 am

You cant set the mouse to a position in events.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Nov 17, 2016 11:54 am

No, but you can set objects to the mouse in events. I believe that was the intended question. And just like the last post you were oh so helpful in, please try to contribute some assistance rather than just shoot down a question or criticize an answer. The community does not need that.
B
14
S
3
G
3
Posts: 73
Reputation: 2,444

Post » Fri Nov 18, 2016 8:43 am

Please remember to be polite and tolerant at all times when posting.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432


Return to How do I....?

Who is online

Users browsing this forum: darkrealos, Rhindon and 15 guests