Hi,
I'm struggling to understand why my watering can suddenly becomes unclickable.
The z-index is definitely working properly because it is rendered above the stuff in the container. In other words, when I run the game and place the watering can in the top right it is shown above the scorebar.
When the watering can is within the area contained by the margin container it loses the input events. In other words, even though it is rendered above the objects in the container it does not receive the click event.
If I place the watering can underneath the margin container then it is still able to be clicked on.
I've read the documentation at InputEvent but it's not clear to me how to manipulate it so that my watering can receives click events.