How do I deselect a sprite

Get help using Construct 2

Post » Thu Nov 27, 2014 9:12 am

Hey,

I'm working on a game where the user can select a sprite by clicking on it. When this happens a red box appears around the sprite to let the user know they have selected it.

I have used "Mouse ~ On Left Button Clicked On Sprite1 ~ Highlight1 set visible & dropdownbox1 select item 1"

My question is; how do I set it so when anywhere outside of the sprite is clicked that the highlight is set back to invisible and the dropdownbox will be set to item 0?

Many thanks...
B
8
Posts: 26
Reputation: 347

Post » Thu Nov 27, 2014 9:55 am

I didn't do the dropdown..
You do not have the required permissions to view the files attached to this post.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Nov 27, 2014 11:49 am

Thank you codah, that's ace! :)
B
8
Posts: 26
Reputation: 347

Post » Thu Nov 27, 2014 12:04 pm

Hey Codah, thanks for your help but i'm struggling with how you got the 'red X' before the 'cursor is over' event?
B
8
Posts: 26
Reputation: 347

Post » Thu Nov 27, 2014 12:31 pm

right click on it and choose 'invert'
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Nov 27, 2014 1:53 pm

Genius, thank you :)
B
8
Posts: 26
Reputation: 347


Return to How do I....?

Who is online

Users browsing this forum: odiusfly and 25 guests