So in my scene I have multiple Buy buttons (same object) and what i want to happen is when i hover over one of them, a “tooltips” layer is shown.
what actually happens is…nothing. this is my code
now i get why it doesnt work but im not sure how to get around it. ive tried using ‘for each object’ but it still doesnt work.
if anyone has any ideas on what i can do i’d appreciate it. thanks for reading!
If you think you know why it’s not working, it would be helpful to include that in your question.
(I know tone doesn’t always come across in text . I don’t mean this to sound harsh. Just a friendly “help us, help you”)
I think the problem is the inverted
cursor is on try using a not condition with a non-inverted cursor is on inside it.
See this for more info
This is something that took me awhile to understand. Unfortunately, the documentation is lacking.
Instead of inverting cursor is on put it inside a NOT condition. It sounds the same but it’s not.
Gdevelop doesn’t work in a strict true or false with instances instead it picks the matching objects and triggers the action if the instances are greater than 0 .
So, inverted cursor is on with 4 instances will always return something unless as you said, you stack them and none of the objectsdon’t ha…
oh yes sorry! it didnt work because there were many of the same object on screen so because i wasnt hovered over all of them at the same time, nothing would happen.
also i tried using the NOT condition and it now works. thank you!