How to increase hitbox from button widget
is there any solution exists?
Thanks for reading.
I’m wondering why you don’t just make the button bigger ?
However, just my 2 cents answer since I’ve never tried to do so → Fake it ! Make a bigger button, then apply a button texture that doesn’t fill the entire area.
Thank you for answer.
It’s hard to do because it’s a company project.
On mobile, the button image is small.
I want to make the hitbox bigger than the image To make it easier for the user to press
“It’s hard to do because it’s a company project”. I don’t see the point here…ask you graphic designer to work again on the icon, that’s it.
Anyway, even if if you absolutely can’t have bigger icon, then I think it’s a big mistake to have a bigger hitbox. Just imagine a second that on your Android (let’s imagine you have android) all the icon hitboxes are bigger that what we can see on the screen, it would be a nightmare and make the whole think unusuable. Of course, if there are some large spaces between button I guess it’s okay to do so.
Finally, if you really really need to this (but again, just resize that ■■■■icon lol…), you can do what I suggest in my previous comment:
Make a bigger button, then apply a button texture that doesn’t fill the entire button area (so your texture has empty spaces around the “real” icon)
I’ve looked at the Unreal Engine code, and probably I can reduce the only image scale in rendering to code.
I’m going to try it.
Thank you.