So I have these items, and I wanted to make it so that whenever you tapped the item, held it, or hovered over it, it would display text.
for example, whenever you hover over the topic button, it shows all topics like a small box. i pretty much want this. I want it so that whenever I hover over the box or click it, it displays the buffs it gives.
The artifacts that I want to display stats for when you click over are just a button with a small label.
a video or explanation would be very helpful Thank you. i couldnt find anything on this so any help is appreciated. I am willing to change the node type, but I am just using the buttons and labels; the label is the rarity below it, and the button is the icon.
If I’m not mistaken, You can use the mouse_exited() and mouse_entered() signals of a Control node (your button, in this case) in order to determine whether you should pop up a Label node or not.
Both of this signals are emitted when the mouse cursor exits or enters the area if a Control node, and they can be useful for your goal.
Here’s the documentation that explains how to connect a signal to your script:
In your case, the script will have two functions similar to this:
I’m not sure, I don’t have much experience with mobile.
However I have a feeling it might be a universal thing, try making a demo of buttons yourself and export it to android.