What blank Node to use as clickable for an event?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By thatsalottadimp
:warning: Old Version Published before Godot 3 was released.

Hi there. Fairly new to Godot and watched all the games from scratch videos. I’ll probably be on here a bunch with random questions while I try to build my first point-and-click puzzle adventure game. So to the question:

How should I go about making a doorway clickable to make the character move to it and change scenes? I know how to change scenes and I know how to set a path, just what blank node should I use to set the click area to maybe change the mouse hover pointer and make the area selectable for the character to walk over and finish with some kind of exiting animation or something? Does that make sense? I’m testing with a blank Sprite but I’m wondering if there’s an easy way to do this.

Thanks!

:bust_in_silhouette: Reply From: The_Duskitty

Personally i would sudgest a texturebutton that has the hover set to an outline or something of the door, otherwise it’ll just be a blank clickable area

Thanks. I’ll give that a try. I guess that will work for both clicking that area and hovering to show that the area is clickable since it will be blank.

thatsalottadimp | 2016-05-30 04:50

actually one more thing. I just tried this and the hover is to change the texture on the texturebutton itself. I’m thinking more of when the mouse hovers over the area, the pointer changes to show that its clickable like in most point and click games. like the pointer turns into an arrow showing its a direction you can go.

thatsalottadimp | 2016-05-30 04:54