GUI: Set clickable area to the shape of the texture (SOLVED)

In my GUI there is a X (Twitter logo) and I only want to make the X clickable and not the whole box.

How can I achieve this?

Can create container node that hold 2 node: Logo node and X node (as clickable)

I think that answer is not what I’m looking for.

Let me rephrase my question:
How can I limit the clickable area to the shape of the texture (in my case the X of the current twitter logo)? That means that everything that is transparent shouldn’t be clickable.

Afaik, there isn’t an easy way to do it.
One way:

1 Like