How do I simulate mouse click

Get help using Construct 2

Post » Sun Aug 17, 2014 2:19 pm

Hi, it is possible o "simulate" a mouse click at the start of the frame?
i mean not a click made by the user :ugeek:
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Sun Aug 17, 2014 7:09 pm

Did you created a mouse cursor & want it auto clicking an object?
By simulating click mechanism, is there specific reason behind that?
ImageImage
B
111
S
51
G
24
Posts: 787
Reputation: 23,394

Post » Sun Aug 17, 2014 7:15 pm

yeah the specifi reason is im working on a test, making a chrome extension with construct2, at the moment that only works when i click on the icon of the app, so i want to simulate that click, when the app is loaded

see here: how-do-i-make-my-app-interact-with-chrome_t112788
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Sun Aug 17, 2014 7:45 pm

How about make an object then move it to designated icon position and make them overlap.
So when overlap condition met the action fired up (loading the app).
ImageImage
B
111
S
51
G
24
Posts: 787
Reputation: 23,394

Post » Sun Aug 17, 2014 7:48 pm

well, the thing is, the "icon" of my app is in chrome, like any extension, so its impossible to tell to an object to move outise its frame
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, Yahoo [Bot] and 9 guests