How to set clickable area of a TextureButton

jackhenjackhen Posts: 36Member

Is there any way of setting the clickable area of a texture button to be different than the area of the texture? I often have textures I want to use with textureButtons, but the texture has extra empty space on the outside. I get around this by creating a button and setting its alpha to 0, and adding the textureRect as a child. however this prevents me from using all the fancy built-in textureButton features ):
Any solutions? thanks

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file