How do I Add Padding to a Button

Just started using Construct 2? Post your questions here

Post » Fri May 27, 2016 2:05 pm

I am using a sprite to create a play/pause button, but I want to be able to tap the button when I am outside the bounds of the sprite. How can I add a padding to the button?

For Example, I if I created the button below, with the "Hello World" text as the sprite; I would like to be able to click the actual sprite and the padding around it to activate the button.

Image
B
3
Posts: 1
Reputation: 175

Post » Sat May 28, 2016 4:28 am

Just create or draw a transparent or invisible sprite. Set it's polygon to bounding box so the full area responds to touch or click.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest