Page 1 of 1

Follow mouse? Like literally on the mouse

PostPosted: Wed May 10, 2006 7:12 pm
by The achievement
How can i make it so my actor can follow my mouse when i move.

Ive done it, but its so far away, i want my actor to be on the mouse. How would i do this?

PostPosted: Wed May 10, 2006 7:41 pm
by makslane
You can set the drag option in the 'Mouse Button Down' event or use the 'Follow Mouse' action

PostPosted: Thu May 11, 2006 3:33 am
by Just4Fun
achievement:
I am not sure if this is what you are trying to do, but...

--1. Create Actor (name it "dragMouse")
-----a. Create Actor Event --> Mouse Enter
-----1) Add Action --> Follow Mouse
Don't change anything in the 'Follow Mouse Dialog Box', but
select 'OK'.

Now, run your program and put your mouse over the Actor. As soon as the mouse enters over the "dragMouse" Actor's area, the mouse should be "stuck to your actor".

As Makslane points out, there are several ways to do this based on what you want to accomplish.
HTHs...

PostPosted: Thu May 11, 2006 3:00 pm
by The achievement
ya, that was my problem Just4fun. Thank you!

Ill have a demo up soon so you can see of any problems.

thanks again!