On mouse button pressed?

Get help using Construct 2

Post » Thu Feb 13, 2014 5:20 am

How do I check if a mouse button was just pressed?
There is an "On Button Released" event but there isn't an analog "On Button Pressed" event.
Am I missing something?
B
4
Posts: 12
Reputation: 249

Post » Thu Feb 13, 2014 6:15 am

https://www.scirra.com/manual/114/mouse

Search for:

On click

On object clicked
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Thu Feb 13, 2014 8:04 am

There is also a "Mouse Button Down"
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,812

Post » Thu Feb 13, 2014 8:21 am

Yeah, if you are trying to do something while a button is down, that's the way to go.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187


Return to How do I....?

Who is online

Users browsing this forum: mikehive, plinkie and 10 guests