checking mouse position

Get help using Construct 2

Post » Thu Oct 24, 2013 4:58 am

hey peoples i have a questions. i am trying to find a way to check the position of my mouse relative to the center of my main character to make him rotate. is there any way to do this?
B
3
Posts: 4
Reputation: 183

Post » Thu Oct 24, 2013 6:08 am

You want your character to always point towards the mouse, right? Something like Set Angle to angle(character.X, character.Y, mouse.X, mouse.Y) should work.
B
35
S
9
G
4
Posts: 201
Reputation: 5,182


Return to How do I....?

Who is online

Users browsing this forum: MadSpy and 6 guests