tink
tink copied to clipboard
Buttons in nested containers
it might be me, but it looks like Tink doesn't adjust for buttons in nested containers with different scales/positions/pivots.
I have a play button within a scaled container that is itself a child of the stage. The hit detection looks like it's using the scale and position of the stage instead of the nested container.
I had a same issue with scalled button it looks like the sprite.gx and sprite.gy are not working with scaling in the line 337 in the hitTestSprite function so i changed it to x and y and my button hitbox was fixed hope it will help