Bigger drag area for sprite

Get help using Construct 2

Post » Thu Mar 08, 2012 8:00 pm

So I have this sprite which is 42x42 in size, but more than half is transparent. The user is supposed to drag it around, but it's kind of difficult. Seems that even if I place the mouse in some non-transparent area, sometimes it still misses it.

My question is: how can I make this sprite's "drag area" as big as the sprite itself, 42x42, without removing transparency?

Thanks!
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Thu Mar 08, 2012 9:34 pm

Does it have something to do with the bounding box around that sprite?
B
192
S
6
G
7
Posts: 213
Reputation: 10,178

Post » Fri Mar 09, 2012 7:12 am

Yes the bounding box (aka collision polygon) is taken into account on drag and drop too. Thanks!
B
14
S
5
G
7
Posts: 235
Reputation: 5,175


Return to How do I....?

Who is online

Users browsing this forum: Zakeru and 22 guests